예제 #1
0
  private void initialize() {
    invisibleRoot = new TreeParent("");

    IProject[] projects = CFMLPlugin.getWorkspace().getRoot().getProjects();
    for (int i = 0; i < projects.length; i++) {
      invisibleRoot.addChild(addProject(projects[i]));
    }
  }
예제 #2
0
 private IProject[] getProjects() {
   // We should only return open projects
   return CFMLPlugin.getWorkspace().getRoot().getProjects();
 }