Class FormWizard

  • All Implemented Interfaces:
    IDtNewWizard<BasicForm>, org.eclipse.core.runtime.IExecutableExtension, org.eclipse.jface.window.IShellProvider, org.eclipse.jface.wizard.IWizard, org.eclipse.ui.INewWizard, org.eclipse.ui.IWorkbenchWizard

    public class FormWizard
    extends DtAefMdNewWizard<BasicForm>
    New form wizard.
    • Constructor Detail

      • FormWizard

        public FormWizard()
        Instantiates a new form wizard.
    • Method Detail

      • doAddPages

        public void doAddPages()
        The DtNewWizard implementation of this wizard method does nothing. Subclasses should extend if extra pages need to be added before the wizard opens. New pages should be added by calling addPage.
        Overrides:
        doAddPages in class DtAefMdNewWizard<BasicForm>
      • getNextPage

        public org.eclipse.jface.wizard.IWizardPage getNextPage​(org.eclipse.jface.wizard.IWizardPage page)
        In some cases needs skip next page.
        Specified by:
        getNextPage in interface org.eclipse.jface.wizard.IWizard
        Overrides:
        getNextPage in class org.eclipse.jface.wizard.Wizard
      • getPreviousPage

        public org.eclipse.jface.wizard.IWizardPage getPreviousPage​(org.eclipse.jface.wizard.IWizardPage page)
        In some cases needs skip previous page.
        Specified by:
        getPreviousPage in interface org.eclipse.jface.wizard.IWizard
        Overrides:
        getPreviousPage in class DtNewWizard<BasicForm>
      • getNamePrefix

        protected String getNamePrefix()
        Description copied from class: DtAefMdNewWizard
        Returns the name prefix for the editing MdObject.
        For example, for Catalog object it would be "Catalog" string. Its value is used for unique name generation. So, if the name prefix is specified that is mentioned above, then unique names would be generated as "Catalog1", "Catalog2" etc.
        Specified by:
        getNamePrefix in class DtAefMdNewWizard<BasicForm>
        Returns:
        the name prefix.
      • createWizardModel

        protected FormWizard.FormModel createWizardModel()
        Creates a wizard model.
        Returns:
        the newly created wizard model.
      • isConstantDefaultForm

        protected boolean isConstantDefaultForm()
        Returns:
        true if the wizard is executed to create constant default form.
      • isConfigurationDefaultForm

        protected boolean isConfigurationDefaultForm()
        Returns:
        true if the wizard is executed to create configuration default form.
      • getDefaultFeature

        protected org.eclipse.emf.ecore.EStructuralFeature getDefaultFeature()
        Returns:
        the default feature from wizard context.
      • postProcessBmIntegration

        protected void postProcessBmIntegration​(IBmTransaction transaction,
                                                org.eclipse.core.runtime.IProgressMonitor monitor)
        Descendants could add additional data postprocessing to the model being integrated.
        Overrides:
        postProcessBmIntegration in class DtNewWizard<BasicForm>
        Parameters:
        transaction - The transaction the task is being executed in.
        monitor - The task progress monitor.