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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final voidMethod called fromParticipantSynchronizeWizard.performFinish()to create a participant.protected abstract ISynchronizeParticipantcreateParticipant(ResourceMapping[] selectedMappings) Method called fromcreateParticipant()to create aModelSynchronizeParticipantfor the given resource mappings.protected final WizardPageCreate 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, performFinishMethods 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:ParticipantSynchronizeWizardMethod called fromParticipantSynchronizeWizard.performFinish()to create a participant. This participant will be added to the Synchronize view.- Specified by:
createParticipantin classParticipantSynchronizeWizard
-
createScopeSelectionPage
Description copied from class:ParticipantSynchronizeWizardCreate the page which allows the user to select the scope for the operation.- Specified by:
createScopeSelectionPagein classParticipantSynchronizeWizard- Returns:
- the page which allows the user to select the scope for the operation
-
createParticipant
Method called fromcreateParticipant()to create aModelSynchronizeParticipantfor 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
-