Class DtAefNewWizard<M extends org.eclipse.emf.ecore.EObject>

java.lang.Object
org.eclipse.jface.wizard.Wizard
com._1c.g5.v8.dt.md.ui.wizards.base.DtNewWizard<M>
com._1c.g5.v8.dt.md.ui.wizards.base.aef.DtAefNewWizard<M>
All Implemented Interfaces:
IDtNewWizard<M>, org.eclipse.core.runtime.IExecutableExtension, org.eclipse.jface.window.IShellProvider, org.eclipse.jface.wizard.IWizard, org.eclipse.ui.INewWizard, org.eclipse.ui.IWorkbenchWizard
Direct Known Subclasses:
AbstractProjectWizard, CharacteristicsDescriptionWizard, DtAefMdNewWizard, PredefinedItemWizard

public class DtAefNewWizard<M extends org.eclipse.emf.ecore.EObject> extends DtNewWizard<M>
Base class for wizards that is constructed using AEF.
  • Constructor Details

    • DtAefNewWizard

      public DtAefNewWizard()
      Creates new AEF wizard.
  • Method Details

    • addPage

      public org.eclipse.jface.wizard.IWizardPage addPage(NewWizardPageComponent<? extends IModel> pageComponent)
      Adds a given wizard page component to wizard.
      Parameters:
      pageComponent - the wizard page component
      Returns:
      the wizard page
    • dispose

      public void dispose()
      Specified by:
      dispose in interface org.eclipse.jface.wizard.IWizard
      Overrides:
      dispose in class DtNewWizard<M extends org.eclipse.emf.ecore.EObject>
    • getEngine

      protected IEngine getEngine()
      Returns:
      the IEngine of the wizard.
    • getModelForPageComponent

      protected IModel getModelForPageComponent(NewWizardPageComponent<?> component)
      Returns AEF model for the given component. Override to support components that is added as pages with addPage(NewWizardPageComponent).
      Parameters:
      component - the component
      Returns:
      model for the given component or null.
    • onParentChanged

      protected void onParentChanged()
      Handles the situation when the parent was changed.