Package com._1c.g5.v8.dt.ui.wizards
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,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,WSReferenceWizard,XdtoPackageWizard
public interface IDtNewWizard<M extends org.eclipse.emf.ecore.EObject> extends org.eclipse.ui.INewWizardDefines the public contract for DT wizards.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcreateModel()Creates a model from the information stored in the wizard context.voiddetectModelClass()Detects a model class from the information stored in the wizard context.voiddetectParent(IStructuredSelection selection)Detects a parent for a given selection and stores it in the wizard context.IDtNewWizardContext<M>getContext()voidintegrateModel(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
-
-
-
-
Method Detail
-
getContext
IDtNewWizardContext<M> getContext()
- Returns:
- associated wizard context.
- See Also:
IDtNewWizardContext
-
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 afterdetectParent(IStructuredSelection).
-
createModel
void createModel()
Creates a model from the information stored in the wizard context. Stores the model in the wizard context. Called afterdetectModelClass().
-
integrateModel
void integrateModel(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreExceptionIntegrates the created model in the enclosing model. Called at wizard finish.- Parameters:
monitor- the progress monitor to report progress to ornullif progress report is not needed- Throws:
org.eclipse.core.runtime.CoreException- if model integrations fails with some reason
-
-