Package org.eclipse.team.ui
Interface IScmUrlImportWizardPage
-
- All Superinterfaces:
IDialogPage,IWizardPage
public interface IScmUrlImportWizardPage extends IWizardPage
IScmUrlImportWizardPage defines the interface that users of the extension pointorg.eclipse.team.ui.scmUrlImportPagesmust implement. EXPERIMENTAL. This class has been added as part of a work in progress. There is no guarantee that this API will work or that it will remain the same. Please do not use this API without consulting with the Team team.- Since:
- 3.6
-
-
Field Summary
Fields Modifier and Type Field Description static StringATT_EXTENSIONstatic StringATT_IMPORTERstatic StringATT_PAGE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanfinish()Called when the import wizard is closed by selecting the finish button.ScmUrlImportDescription[]getSelection()Return the import descriptions for the page.voidsetSelection(ScmUrlImportDescription[] descriptions)Sets the import descriptions to be edited on the page.-
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage
createControl, dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible
-
Methods inherited from interface org.eclipse.jface.wizard.IWizardPage
canFlipToNextPage, getName, getNextPage, getPreviousPage, getWizard, isPageComplete, setPreviousPage, setWizard
-
-
-
-
Field Detail
-
ATT_EXTENSION
static final String ATT_EXTENSION
- See Also:
- Constant Field Values
-
ATT_PAGE
static final String ATT_PAGE
- See Also:
- Constant Field Values
-
ATT_IMPORTER
static final String ATT_IMPORTER
- See Also:
- Constant Field Values
-
-
Method Detail
-
finish
boolean finish()
Called when the import wizard is closed by selecting the finish button. Implementers may store the page result (new/changed bundle import descriptions in getSelection) here.- Returns:
- if the operation was successful. The wizard will only close when
trueis returned.
-
getSelection
ScmUrlImportDescription[] getSelection()
Return the import descriptions for the page. The descriptions may differ from those initially set usingsetSelection(ScmUrlImportDescription[])if the user modified the import configuration.- Returns:
- the SCM URLs descriptions for the page or
nullif no selection has been set
-
setSelection
void setSelection(ScmUrlImportDescription[] descriptions)
Sets the import descriptions to be edited on the page. The passed descriptions can be edited and should be returned ingetSelection().- Parameters:
descriptions- the SCM URLs descriptions edited on the page.
-
-