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_ID
Fields inherited from class org.eclipse.ui.wizards.newresource.BasicNewResourceWizard
selection
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addPages()
Adds theSelectProfileFilePage
and theSelectProfileApplicationFilePage
.boolean
Calls theProfileApplicationRegistry
to apply the profile.void
setWorkbenchPart
(IWorkbenchPart targetPart) Sets the workbench part to use for profile application creation.Methods inherited from class org.eclipse.ui.wizards.newresource.BasicNewFileResourceWizard
init, initializeDefaultPageImageDescriptor
Methods inherited from class org.eclipse.ui.wizards.newresource.BasicNewResourceWizard
getSelection, getWorkbench, selectAndReveal, selectAndReveal
Methods 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, setWindowTitle
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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 theProfileApplicationRegistry
to apply the profile.- Specified by:
performFinish
in interfaceIWizard
- Overrides:
performFinish
in classBasicNewFileResourceWizard
-
addPages
public void addPages()Adds theSelectProfileFilePage
and theSelectProfileApplicationFilePage
.- Specified by:
addPages
in interfaceIWizard
- Overrides:
addPages
in classBasicNewFileResourceWizard
-
setWorkbenchPart
Sets the workbench part to use for profile application creation.- Parameters:
targetPart
- to set.
-