Class SubsystemWizard

  • All Implemented Interfaces:
    IDtNewWizard<Subsystem>, 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 SubsystemWizard
    extends DtAefMdNewWizard<Subsystem>
    Wizard that creates a new Subsystem resource.
    • Constructor Detail

      • SubsystemWizard

        public SubsystemWizard()
        Instantiates a new subsystem wizard.
    • Method Detail

      • integrateModel

        public void integrateModel​(org.eclipse.core.runtime.IProgressMonitor monitor)
                            throws org.eclipse.core.runtime.CoreException
        Description copied from class: DtNewWizard
        Integrates the created model in the enclosing model. Called at wizard finish.
        Specified by:
        integrateModel in interface IDtNewWizard<Subsystem>
        Overrides:
        integrateModel in class DtNewWizard<Subsystem>
        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
      • 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<Subsystem>
        Returns:
        the name prefix.