Package com._1c.g5.v8.dt.md.ui.wizards
Class DimensionWizard
- 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>
-
- com._1c.g5.v8.dt.md.ui.wizards.base.aef.DtAefMdNewWizard<M>
-
- com._1c.g5.v8.dt.md.ui.wizards.base.aef.DtAefMdWithTypeNewWizard<Dimension>
-
- com._1c.g5.v8.dt.md.ui.wizards.DimensionWizard
-
- All Implemented Interfaces:
IDtNewWizard<Dimension>,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 DimensionWizard extends DtAefMdWithTypeNewWizard<Dimension>
Wizard forDimension.
-
-
Field Summary
-
Fields inherited from class com._1c.g5.v8.dt.md.ui.wizards.base.aef.DtAefMdNewWizard
mdObjectAvailability
-
Fields inherited from class com._1c.g5.v8.dt.md.ui.wizards.base.DtNewWizard
configurationProvider, derivedDataManagerProvider, modelManager, resourceLookup, runtimeVersionSupport, selectionService, topObjectFqnGenerator, v8projectManager, wizardExtensionsRegistry
-
-
Constructor Summary
Constructors Constructor Description DimensionWizard()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MdObjectModel<Dimension>createMdObjectModel()protected StringgetNamePrefix()Returns the name prefix for the editingMdObject.protected org.eclipse.emf.ecore.EReferencegetTypeFeature()Returns theEReferencethat represents the type feature.protected voidsetupMdMainPageViewModel(NewWizardPageViewModel viewModel)Setups theNewWizardPageViewModelfor main page.-
Methods inherited from class com._1c.g5.v8.dt.md.ui.wizards.base.aef.DtAefMdWithTypeNewWizard
createMdMainPage, disposeMdObjectModel, getTypeDescriptionModel
-
Methods inherited from class com._1c.g5.v8.dt.md.ui.wizards.base.aef.DtAefMdNewWizard
dispose, disposeMainPageComponent, doAddPages, getMainPageComponent, getMdObjectModel, getModelForPageComponent, getProjectNamePrefix
-
Methods inherited from class com._1c.g5.v8.dt.md.ui.wizards.base.aef.DtAefNewWizard
addPage, getEngine, onParentChanged
-
Methods inherited from class com._1c.g5.v8.dt.md.ui.wizards.base.DtNewWizard
addExtensionPages, addPages, canFinish, createModel, createPageControls, detectModelClass, detectParent, getContext, getPreviousPage, getSelection, init, integrateModel, integrateModel, performFinish, postProcessBmIntegration, preProcessBmIntegration, setContainer, setInitializationData, setModelClassDetectionStrategy, setOpenEditorAfterCreation, setParentDetectionStrategy, setSelectAfterCreation, setShowParentSelectionPage
-
Methods inherited from class org.eclipse.jface.wizard.Wizard
addPage, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle
-
-
-
-
Method Detail
-
getTypeFeature
protected org.eclipse.emf.ecore.EReference getTypeFeature()
Description copied from class:DtAefMdWithTypeNewWizardReturns theEReferencethat represents the type feature.- Specified by:
getTypeFeaturein classDtAefMdWithTypeNewWizard<Dimension>- Returns:
- the
EReferenceinstance.
-
getNamePrefix
protected String getNamePrefix()
Description copied from class:DtAefMdNewWizardReturns the name prefix for the editingMdObject.
For example, forCatalogobject 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:
getNamePrefixin classDtAefMdNewWizard<Dimension>- Returns:
- the name prefix.
-
setupMdMainPageViewModel
protected void setupMdMainPageViewModel(NewWizardPageViewModel viewModel)
Description copied from class:DtAefMdNewWizardSetups theNewWizardPageViewModelfor main page.
Actually it is needed to set title and description features.- Specified by:
setupMdMainPageViewModelin classDtAefMdNewWizard<Dimension>- Parameters:
viewModel- the view model.
-
createMdObjectModel
protected MdObjectModel<Dimension> createMdObjectModel()
Description copied from class:DtAefMdNewWizard- Overrides:
createMdObjectModelin classDtAefMdNewWizard<Dimension>- Returns:
- newly created
IMdObjectModel
-
-