public abstract class AbstractResourceVisitor
extends java.lang.Object
implements org.eclipse.core.resources.IResourceVisitor
IResourceVisitor implementation which skips platform private resources (i.e., team private resources,
project description files, and project properties folders and files).IResource,
IResourceVisitor,
ExtendedPlatform.isPlatformPrivateResource(IResource)| Constructor and Description |
|---|
AbstractResourceVisitor() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
doVisit(org.eclipse.core.resources.IResource resource)
Visits the given
resource. |
boolean |
visit(org.eclipse.core.resources.IResource resource) |
public final boolean visit(org.eclipse.core.resources.IResource resource)
throws org.eclipse.core.runtime.CoreException
visit in interface org.eclipse.core.resources.IResourceVisitororg.eclipse.core.runtime.CoreExceptionprotected abstract boolean doVisit(org.eclipse.core.resources.IResource resource)
throws org.eclipse.core.runtime.CoreException
resource. Only resources which are not platform private
(i.e., no team private resources, project description files, or project properties folders and files) are passed.resource - The non platform private resource to visit.true if the resource's members should be visited; false if
they should be skipped.org.eclipse.core.runtime.CoreException - If the visit fails for some reason.ExtendedPlatform.isPlatformPrivateResource(IResource)