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