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
public class ApplyProfileWizard extends BasicNewFileResourceWizard
Wizard for collecting necessary information to apply aProfile
.
-
-
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
Constructors Constructor Description ApplyProfileWizard()
The default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPages()
Adds theSelectProfileFilePage
and theSelectProfileApplicationFilePage
.boolean
performFinish()
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
-
-
-
-
Method Detail
-
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
public void setWorkbenchPart(IWorkbenchPart targetPart)
Sets the workbench part to use for profile application creation.- Parameters:
targetPart
- to set.
-
-