public interface IResourceProxyVisitor
Usage:
class Visitor implements IResourceProxyVisitor {
public boolean visit (IResourceProxy proxy) {
// your code here
return true;
}
}
ResourcesPlugin.getWorkspace().getRoot().accept(new Visitor(), IResource.NONE);
Clients may implement this interface.
IResource.accept(IResourceVisitor)| Modifier and Type | Method and Description |
|---|---|
boolean |
visit(IResourceProxy proxy)
Visits the given resource.
|
boolean visit(IResourceProxy proxy) throws CoreException
proxy - for requesting information about the resource being visited;
this object is only valid for the duration of the invocation of this
method, and must not be used after this method has completedtrue 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.