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() |
public final boolean visit(org.eclipse.core.resources.IResource resource) throws org.eclipse.core.runtime.CoreException
visit
in interface org.eclipse.core.resources.IResourceVisitor
org.eclipse.core.runtime.CoreException
protected abstract boolean doVisit(org.eclipse.core.resources.IResource resource) throws org.eclipse.core.runtime.CoreException
resource
. Only resource
s 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)