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.
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.