public interface IResourceVisitor
Usage:
class Visitor implements IResourceVisitor {
public boolean visit(IResource res) {
// your code here
return true;
}
}
IResource root = ...;
root.accept(new Visitor());
Clients may implement this interface.
IResource.accept(IResourceVisitor)boolean visit(IResource resource) throws CoreException
resource - the resource to visittrue if the resource's members should
be visited; false if they should be skippedCoreException - if the visit fails for some reason.Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.