public static IScope getSubTree(IResource r) { ResourceVisitor visitor = new ResourceVisitor(); ZigguratInject.inject(visitor); try { r.accept(visitor); } catch (CoreException e) { e.printStackTrace(); } return visitor.getResult(); }
public static IScope getWorkspaceScope() { ResourceVisitor visitor = new ResourceVisitor(); ZigguratInject.inject(visitor); try { ResourcesPlugin.getWorkspace().getRoot().accept(visitor); } catch (CoreException e) { e.printStackTrace(); } return visitor.getResult(); }
void doBuild(IResourceDelta delta, IProgressMonitor monitor) throws CoreException { if (delta == null) return; ResourceVisitor visitor = new ResourceVisitor(testFinder); delta.accept(visitor); visitor.processResources(monitor, invoker); }
public void visit(ResourceVisitor paramResourceVisitor) { paramResourceVisitor.visitJFXDesc(this); }