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
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Collection<IWizardPage>protected ModelCreationPageprotected EObjectprotected URIprotected RepresentationCreationPageprotected org.eclipse.sirius.viewpoint.description.RepresentationDescriptionprotected org.eclipse.sirius.viewpoint.description.ViewpointFields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPages()protected voidfinish()Performed after creating the resource and before initializing the diagramprotected abstract voidinit(IStructuredSelection selection) The implementation of this method must correctly initialize the modelObject, viewpoints, representation and modelCreationPage attributes and eventually add additional pages to additionalPagesvoidinit(IWorkbench workbench, IStructuredSelection selection) booleanMethods 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
-
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:
initin 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:
performFinishin interfaceIWizard- Specified by:
performFinishin classWizard
-