Class ApplyProfileWizard
java.lang.Object
org.eclipse.jface.wizard.Wizard
org.eclipse.ui.wizards.newresource.BasicNewResourceWizard
org.eclipse.ui.wizards.newresource.BasicNewFileResourceWizard
org.modelversioning.emfprofile.application.registry.ui.wizards.ApplyProfileWizard
- All Implemented Interfaces:
IShellProvider,IWizard,INewWizard,IWorkbenchWizard
Wizard for collecting necessary information to apply a
Profile.-
Field Summary
Fields inherited from class org.eclipse.ui.wizards.newresource.BasicNewFileResourceWizard
WIZARD_IDFields inherited from class org.eclipse.ui.wizards.newresource.BasicNewResourceWizard
selectionFields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPages()Adds theSelectProfileFilePageand theSelectProfileApplicationFilePage.booleanCalls theProfileApplicationRegistryto apply the profile.voidsetWorkbenchPart(IWorkbenchPart targetPart) Sets the workbench part to use for profile application creation.Methods inherited from class org.eclipse.ui.wizards.newresource.BasicNewFileResourceWizard
init, initializeDefaultPageImageDescriptorMethods inherited from class org.eclipse.ui.wizards.newresource.BasicNewResourceWizard
getSelection, getWorkbench, selectAndReveal, selectAndRevealMethods inherited from class org.eclipse.jface.wizard.Wizard
addPage, canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.jface.wizard.IWizard
canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer
-
Constructor Details
-
ApplyProfileWizard
public ApplyProfileWizard()The default constructor
-
-
Method Details
-
performFinish
public boolean performFinish()Calls theProfileApplicationRegistryto apply the profile.- Specified by:
performFinishin interfaceIWizard- Overrides:
performFinishin classBasicNewFileResourceWizard
-
addPages
public void addPages()Adds theSelectProfileFilePageand theSelectProfileApplicationFilePage.- Specified by:
addPagesin interfaceIWizard- Overrides:
addPagesin classBasicNewFileResourceWizard
-
setWorkbenchPart
Sets the workbench part to use for profile application creation.- Parameters:
targetPart- to set.
-