예제 #1
0
파일: Scopes.java 프로젝트: ranass/ReqCycle
 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();
 }
예제 #2
0
파일: Scopes.java 프로젝트: ranass/ReqCycle
 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();
 }
예제 #3
0
 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);
 }