Class NewModelWizard
java.lang.Object
org.eclipse.jface.wizard.Wizard
org.palladiosimulator.editors.sirius.ui.wizard.model.NewModelWizard
- All Implemented Interfaces:
IShellProvider
,IWizard
,INewWizard
,IWorkbenchWizard
- Direct Known Subclasses:
AllocationCreationWizard
,RepositoryCreationWizard
,ResourceEnvironmentCreationWizard
,SystemCreationWizard
,UsageModelCreationWizard
-
Field Summary
Modifier and TypeFieldDescriptionprotected Collection<IWizardPage>
protected ModelCreationPage
protected EObject
protected URI
protected RepresentationCreationPage
protected org.eclipse.sirius.viewpoint.description.RepresentationDescription
protected org.eclipse.sirius.viewpoint.description.Viewpoint
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addPages()
protected void
finish()
Performed after creating the resource and before initializing the diagramprotected abstract void
init
(IStructuredSelection selection) The implementation of this method must correctly initialize the modelObject, viewpoints, representation and modelCreationPage attributes and eventually add additional pages to additionalPagesvoid
init
(IWorkbench workbench, IStructuredSelection selection) boolean
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
-
Field Details
-
modelCreationPage
-
representationCreationPage
-
additionalPages
-
modelURI
-
modelObject
-
viewpoint
protected org.eclipse.sirius.viewpoint.description.Viewpoint viewpoint -
representationDescription
protected org.eclipse.sirius.viewpoint.description.RepresentationDescription representationDescription
-
-
Constructor Details
-
NewModelWizard
public NewModelWizard()
-
-
Method Details
-
init
- Specified by:
init
in interfaceIWorkbenchWizard
-
init
The implementation of this method must correctly initialize the modelObject, viewpoints, representation and modelCreationPage attributes and eventually add additional pages to additionalPages- Parameters:
selection
- selected element
-
finish
protected void finish()Performed after creating the resource and before initializing the diagram -
addPages
public void addPages() -
performFinish
public boolean performFinish()- Specified by:
performFinish
in interfaceIWizard
- Specified by:
performFinish
in classWizard
-