public abstract class ParticipantSynchronizeWizard extends Wizard
org.eclipse.team.ui.synchronizeWizard
extension point.DEFAULT_IMAGE
Modifier | Constructor and Description |
---|---|
protected |
ParticipantSynchronizeWizard()
Create the wizard.
|
Modifier and Type | Method and Description |
---|---|
void |
addPages()
The
Wizard implementation of this IWizard
method does nothing. |
boolean |
canFinish()
Returns whether this wizard could be finished without further user
interaction.
|
protected abstract void |
createParticipant()
Method called from
performFinish() to create
a participant. |
protected abstract WizardPage |
createScopeSelectionPage()
Create the page which allows the user to select the scope
for the operation.
|
protected abstract IWizard |
getImportWizard()
Return a wizard that can be used to populate the workspace
if there are no resources returned from
getRootResources() . |
IWizardPage |
getNextPage(IWizardPage page)
Returns the successor of the given page.
|
protected abstract String |
getPageTitle()
Return the page title for the page used by this wizard.
|
protected abstract IResource[] |
getRootResources()
Return the resources that are the roots of the resource
trees that can be considered for inclusion.
|
IWizardPage |
getStartingPage()
Returns the first page to be shown in this wizard.
|
String |
getWindowTitle()
Returns the window title string for this wizard.
|
boolean |
performCancel()
The
Wizard implementation of this IWizard
method does nothing and returns true . |
boolean |
performFinish()
Subclasses must implement this
IWizard method to perform
any special finish processing for their wizard. |
addPage, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getPage, getPageCount, getPages, getPreviousPage, getShell, getTitleBarColor, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle
protected ParticipantSynchronizeWizard()
public String getWindowTitle()
IWizard
getWindowTitle
in interface IWizard
getWindowTitle
in class Wizard
null
for no titlepublic void addPages()
Wizard
Wizard
implementation of this IWizard
method does nothing. Subclasses should extend if extra pages need to be
added before the wizard opens. New pages should be added by calling
addPage
.public boolean performFinish()
Wizard
IWizard
method to perform
any special finish processing for their wizard.performFinish
in interface IWizard
performFinish
in class Wizard
true
to indicate the finish request
was accepted, and false
to indicate
that the finish request was refusedpublic IWizardPage getNextPage(IWizardPage page)
IWizard
This method is typically called by a wizard page
getNextPage
in interface IWizard
getNextPage
in class Wizard
page
- the pagenull
if nonepublic boolean performCancel()
Wizard
Wizard
implementation of this IWizard
method does nothing and returns true
. Subclasses should
reimplement this method if they need to perform any special cancel
processing for their wizard.performCancel
in interface IWizard
performCancel
in class Wizard
true
to indicate the cancel request
was accepted, and false
to indicate
that the cancel request was refusedpublic boolean canFinish()
IWizard
The result of this method is typically used by the wizard container to enable or disable the Finish button.
public IWizardPage getStartingPage()
IWizard
getStartingPage
in interface IWizard
getStartingPage
in class Wizard
protected abstract String getPageTitle()
protected abstract IWizard getImportWizard()
getRootResources()
.protected abstract IResource[] getRootResources()
protected abstract WizardPage createScopeSelectionPage()
protected abstract void createParticipant()
performFinish()
to create
a participant. This participant will be added to the
Synchronize view.
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.