コード例 #1
0
 /** {@inheritDoc} */
 protected INewWizard createWizard() throws CoreException {
   BPListElement newEntrie =
       new BPListElement(fSelectedProject, IBuildpathEntry.BPE_SOURCE, false);
   BPListElement[] existing = BPListElement.createFromExisting(fSelectedProject);
   boolean isProjectSrcFolder = BPListElement.isProjectSourceFolder(existing, fSelectedProject);
   fAddSourceFolderWizard =
       new AddSourceFolderWizard(
           existing, newEntrie, fIsLinked, false, false, isProjectSrcFolder, isProjectSrcFolder);
   return fAddSourceFolderWizard;
 }
コード例 #2
0
 /** {@inheritDoc} */
 protected INewWizard createWizard() throws CoreException {
   BPListElement[] existingEntries = BPListElement.createFromExisting(fSelectedProject);
   BPListElement elementToEdit = findElement(fSelectedElement, existingEntries);
   fEditFilterWizard = new EditFilterWizard(existingEntries, elementToEdit);
   return fEditFilterWizard;
 }