Package org.eclipse.team.ui.synchronize
Class ModelParticipantWizard
java.lang.Object
org.eclipse.jface.wizard.Wizard
org.eclipse.team.ui.synchronize.ParticipantSynchronizeWizard
org.eclipse.team.ui.synchronize.ModelParticipantWizard
- All Implemented Interfaces:
IShellProvider
,IWizard
This is a convenience class for creating wizards for use with the
org.eclipse.team.ui.synchronizeWizard
extension point
that create a ModelSynchronizeParticipant
.- Since:
- 3.2
-
Field Summary
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected final void
Method called fromParticipantSynchronizeWizard.performFinish()
to create a participant.protected abstract ISynchronizeParticipant
createParticipant
(ResourceMapping[] selectedMappings) Method called fromcreateParticipant()
to create aModelSynchronizeParticipant
for the given resource mappings.protected final WizardPage
Create the page which allows the user to select the scope for the operation.Methods inherited from class org.eclipse.team.ui.synchronize.ParticipantSynchronizeWizard
addPages, canFinish, getImportWizard, getNextPage, getPageTitle, getRootResources, getStartingPage, getWindowTitle, performCancel, performFinish
Methods inherited from class org.eclipse.jface.wizard.Wizard
addPage, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getMinimumWizardSize, getPage, getPageCount, getPages, getPreviousPage, getShell, getTitleBarColor, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle
-
Constructor Details
-
ModelParticipantWizard
public ModelParticipantWizard()
-
-
Method Details
-
createParticipant
protected final void createParticipant()Description copied from class:ParticipantSynchronizeWizard
Method called fromParticipantSynchronizeWizard.performFinish()
to create a participant. This participant will be added to the Synchronize view.- Specified by:
createParticipant
in classParticipantSynchronizeWizard
-
createScopeSelectionPage
Description copied from class:ParticipantSynchronizeWizard
Create the page which allows the user to select the scope for the operation.- Specified by:
createScopeSelectionPage
in classParticipantSynchronizeWizard
- Returns:
- the page which allows the user to select the scope for the operation
-
createParticipant
Method called fromcreateParticipant()
to create aModelSynchronizeParticipant
for the given resource mappings.- Parameters:
selectedMappings
- the selected mappings that define the scope- Returns:
- a synchronize participant that will be added to the Synchronize view
-