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

public abstract class NewModelWizard extends Wizard implements INewWizard
  • Field Details

    • modelCreationPage

      protected ModelCreationPage modelCreationPage
    • representationCreationPage

      protected RepresentationCreationPage representationCreationPage
    • additionalPages

      protected Collection<IWizardPage> additionalPages
    • modelURI

      protected URI modelURI
    • modelObject

      protected EObject 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

      public void init(IWorkbench workbench, IStructuredSelection selection)
      Specified by:
      init in interface IWorkbenchWizard
    • init

      protected 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 additionalPages
      Parameters:
      selection - selected element
    • finish

      protected void finish()
      Performed after creating the resource and before initializing the diagram
    • addPages

      public void addPages()
      Specified by:
      addPages in interface IWizard
      Overrides:
      addPages in class Wizard
    • performFinish

      public boolean performFinish()
      Specified by:
      performFinish in interface IWizard
      Specified by:
      performFinish in class Wizard