Interface IDtNewWizard<M extends org.eclipse.emf.ecore.EObject>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void createModel()
      Creates a model from the information stored in the wizard context.
      void detectModelClass()
      Detects a model class from the information stored in the wizard context.
      void detectParent​(IStructuredSelection selection)
      Detects a parent for a given selection and stores it in the wizard context.
      IDtNewWizardContext<M> getContext()  
      void integrateModel​(org.eclipse.core.runtime.IProgressMonitor monitor)
      Integrates the created model in the enclosing model.
      • Methods inherited from interface org.eclipse.jface.wizard.IWizard

        addPages, canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, performFinish, setContainer
      • Methods inherited from interface org.eclipse.ui.IWorkbenchWizard

        init
    • Method Detail

      • detectParent

        void detectParent​(IStructuredSelection selection)
        Detects a parent for a given selection and stores it in the wizard context.
        Parameters:
        selection - selection to detect model from.
      • detectModelClass

        void detectModelClass()
        Detects a model class from the information stored in the wizard context. Stores the model class in the wizard context. Called after detectParent(IStructuredSelection).
      • createModel

        void createModel()
        Creates a model from the information stored in the wizard context. Stores the model in the wizard context. Called after detectModelClass().
      • integrateModel

        void integrateModel​(org.eclipse.core.runtime.IProgressMonitor monitor)
                     throws org.eclipse.core.runtime.CoreException
        Integrates the created model in the enclosing model. Called at wizard finish.
        Parameters:
        monitor - the progress monitor to report progress to or null if progress report is not needed
        Throws:
        org.eclipse.core.runtime.CoreException - if model integrations fails with some reason