Examples of BPVariableElement


Examples of org.eclipse.dltk.internal.ui.wizards.buildpath.BPVariableElement

    ArrayList elements = new ArrayList(entries.length);
    for (int i = 0; i < entries.length; i++) {
      String name = entries[i];
      IPath entryPath = DLTKCore.getBuildpathVariable(name);
      if (entryPath != null) {
        elements.add(new BPVariableElement(name, entryPath));
      }
    }

    fVariablesList.setElements(elements);
  }
View Full Code Here

Examples of org.eclipse.dltk.internal.ui.wizards.buildpath.BPVariableElement

    int nSelected = selected.size();

    if (nSelected > 0) {
      fResultPaths = new Path[nSelected];
      for (int i = 0; i < nSelected; i++) {
        BPVariableElement curr = (BPVariableElement) selected.get(i);
        fResultPaths[i] = new Path(curr.getName());
        File file = curr.getPath().toFile();
        if (!file.exists()) {
          status.setError(NewWizardMessages.NewVariableEntryDialog_info_notexists);
          isValidSelection = false;
          break;
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.