@Override public List<CPListElement> getInsertedElements() { List<CPListElement> result= super.getInsertedElements(); if (getEntryToEdit().getOrginalPath() == null) result.add(getEntryToEdit()); return result; }
/** * {@inheritDoc} */ public List getInsertedElements() { List result= super.getInsertedElements(); if (getEntryToEdit().getOrginalPath() == null) result.add(getEntryToEdit()); return result; }
@Override public List<CPListElement> getInsertedElements() { List<CPListElement> result= super.getInsertedElements(); if (getEntryToEdit().getOrginalPath() == null) result.add(getEntryToEdit()); return result; }
@Override public boolean performFinish() { getEntryToEdit().setAttribute(CPListElement.INCLUSION, fFilterPage.getInclusionPattern()); getEntryToEdit().setAttribute(CPListElement.EXCLUSION, fFilterPage.getExclusionPattern()); setOutputLocation(fAddFolderPage.getOutputLocation()); boolean res= super.performFinish(); if (res) { selectAndReveal(fAddFolderPage.getCorrespondingResource()); } return res; }
/** * {@inheritDoc} */ public void addPages() { super.addPages(); fAddFolderPage= new AddSourceFolderWizardPage(getEntryToEdit(), getExistingEntries(), getOutputLocation(), fLinkedMode, fCanCommitConflict, fAllowConflict, fAllowRemoveProjectFolder, fAllowAddExclusionPatterns, fParent); addPage(fAddFolderPage); fFilterPage= new SetFilterWizardPage(getEntryToEdit(), getExistingEntries(), getOutputLocation()); addPage(fFilterPage); }
@Override public void addPages() { super.addPages(); fAddFolderPage= new AddSourceFolderWizardPage(getEntryToEdit(), getExistingEntries(), getOutputLocation(), fLinkedMode, fCanCommitConflict, fAllowConflict, fAllowRemoveProjectFolder, fAllowAddExclusionPatterns, fParent); addPage(fAddFolderPage); fFilterPage= new SetFilterWizardPage(getEntryToEdit(), getExistingEntries(), getOutputLocation()); addPage(fFilterPage); }
@Override public void addPages() { super.addPages(); fAddFolderPage= new AddSourceFolderWizardPage(getEntryToEdit(), getExistingEntries(), getOutputLocation(), fLinkedMode, fCanCommitConflict, fAllowConflict, fAllowRemoveProjectFolder, fAllowAddExclusionPatterns, fParent); addPage(fAddFolderPage); fFilterPage= new SetFilterWizardPage(getEntryToEdit(), getExistingEntries(), getOutputLocation()); addPage(fFilterPage); }
@Override public boolean performFinish() { getEntryToEdit().setAttribute(CPListElement.INCLUSION, fFilterPage.getInclusionPattern()); getEntryToEdit().setAttribute(CPListElement.EXCLUSION, fFilterPage.getExclusionPattern()); setOutputLocation(fAddFolderPage.getOutputLocation()); boolean res= super.performFinish(); if (res) { selectAndReveal(fAddFolderPage.getCorrespondingResource()); } return res; }
/** * {@inheritDoc} */ public boolean performFinish() { getEntryToEdit().setAttribute(CPListElement.INCLUSION, fFilterPage.getInclusionPattern()); getEntryToEdit().setAttribute(CPListElement.EXCLUSION, fFilterPage.getExclusionPattern()); setOutputLocation(fAddFolderPage.getOutputLocation()); boolean res= super.performFinish(); if (res) { selectAndReveal(fAddFolderPage.getCorrespondingResource()); } return res; }