Exemplo n.º 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]));
    }
  }
Exemplo n.º 2
0
 private IProject[] getProjects() {
   // We should only return open projects
   return CFMLPlugin.getWorkspace().getRoot().getProjects();
 }