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

All Superinterfaces:
org.eclipse.ui.INewWizard, org.eclipse.jface.wizard.IWizard, org.eclipse.ui.IWorkbenchWizard
All Known Implementing Classes:
AbstractCommandWizard, AbstractDependentProjectWizard, AbstractProjectWizard, AccountingFlagWizard, AccountingRegisterWizard, AccumulationRegisterWizard, AddressAttributeWizard, AttributeWizard, BotWizard, BusinessProcessWizard, CalculationRegisterWizard, CatalogWizard, CharacteristicsDescriptionWizard, ChartOfAccountsWizard, ChartOfCalculationTypesWizard, ChartOfCharacteristicTypesWizard, ColumnWizard, CommandGroupWizard, CommandWizard, CommonAttributeWizard, CommonCommandWizard, CommonModuleWizard, CommonPictureWizard, ConfigurationWizard, ConstantWizard, CubeWizard, DataProcessorWizard, DefinedTypeWizard, DimensionTableWizard, DimensionWizard, DocumentJournalWizard, DocumentNumeratorWizard, DocumentWizard, DtAefMdNewWizard, DtAefMdWithTypeNewWizard, DtAefNewWizard, DtNewWizard, EnumValueWizard, EnumWizard, EventSubscriptionWizard, ExchangePlanWizard, ExtDimensionAccountingFlagWizard, ExtensionWizard, ExternalDataProcessorObjectWizard, ExternalDataProcessorProjectWizard, ExternalDataProcessorWizardBase, ExternalDataSourceWizard, ExternalReportObjectWizard, ExternalReportProjectWizard, ExternalReportWizardBase, FieldWizard, FilterCriterionWizard, FixedFieldNameMatchingWizard, FormWizard, FunctionalOptionParameterWizard, FunctionalOptionWizard, FunctionWizard, HTTPServiceWizard, InformationRegisterWizard, IntegrationServiceChannelWizard, IntegrationServiceWizard, LanguageWizard, MethodWizard, OperationWizard, ParameterWizard, PredefinedAccountWizard, PredefinedCalculationTypeWizard, PredefinedCharacteristicTypeWizard, PredefinedFolderWizard, PredefinedItemWizard, RecalculationDimensionWizard, RecalculationWizard, RegisterDimensionWizard, RegisterResourceWizard, ReportWizard, ResourceWizard, RoleWizard, ScheduledJobWizard, SequenceDimensionWizard, SequenceWizard, SessionParameterWizard, SettingsStorageWizard, StyleItemWizard, StyleWizard, SubsystemWizard, TableWizard, TabularSectionAttributeWizard, TabularSectionWizard, TaskWizard, TemplateWizard, URLTemplateWizard, WebServiceWizard, WebSocketClientWizard, WSReferenceWizard, XdtoPackageWizard

public interface IDtNewWizard<M extends org.eclipse.emf.ecore.EObject> extends org.eclipse.ui.INewWizard
Defines the public contract for DT wizards.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Creates a model from the information stored in the wizard context.
    void
    Detects a model class from the information stored in the wizard context.
    void
    Detects a parent for a given selection and stores it in the wizard context.
     
    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, getMinimumWizardSize, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, performFinish, setContainer

    Methods inherited from interface org.eclipse.ui.IWorkbenchWizard

    init
  • Method Details

    • getContext

      IDtNewWizardContext<M> getContext()
      Returns:
      associated wizard context.
      See Also:
    • 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