Package com._1c.g5.v8.dt.md.ui.wizards
Class SessionParameterWizard
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<SessionParameter>
com._1c.g5.v8.dt.md.ui.wizards.SessionParameterWizard
- All Implemented Interfaces:
IDtNewWizard<SessionParameter>,org.eclipse.core.runtime.IExecutableExtension,org.eclipse.jface.window.IShellProvider,org.eclipse.jface.wizard.IWizard,org.eclipse.ui.INewWizard,org.eclipse.ui.IWorkbenchWizard
Wizard that creates a new Session Parameter.
-
Field Summary
Fields inherited from class com._1c.g5.v8.dt.md.ui.wizards.base.aef.DtAefMdNewWizard
mdObjectAvailabilityFields inherited from class com._1c.g5.v8.dt.md.ui.wizards.base.DtNewWizard
configurationProvider, derivedDataManagerProvider, modelManager, resourceLookup, runtimeVersionSupport, selectionService, topObjectFqnGenerator, v8projectManager, wizardExtensionsRegistryFields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCreates a model from the information stored in the wizard context.protected StringReturns the name prefix for the editingMdObject.protected org.eclipse.emf.ecore.EReferenceReturns 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, getTypeDescriptionModelMethods inherited from class com._1c.g5.v8.dt.md.ui.wizards.base.aef.DtAefMdNewWizard
createMdObjectModel, dispose, disposeMainPageComponent, doAddPages, getMainPageComponent, getMdObjectModel, getModelForPageComponent, getProjectNamePrefixMethods inherited from class com._1c.g5.v8.dt.md.ui.wizards.base.aef.DtAefNewWizard
addPage, getEngine, onParentChangedMethods inherited from class com._1c.g5.v8.dt.md.ui.wizards.base.DtNewWizard
addExtensionPages, addPages, canFinish, createPageControls, detectModelClass, detectParent, getContext, getPreviousPage, getSelection, init, integrateModel, integrateModel, performFinish, postProcessBmIntegration, preProcessBmIntegration, setContainer, setInitializationData, setModelClassDetectionStrategy, setOpenEditorAfterCreation, setParentDetectionStrategy, setSelectAfterCreation, setShowParentSelectionPageMethods inherited from class org.eclipse.jface.wizard.Wizard
addPage, getContainer, getDefaultPageImage, getDialogSettings, getMinimumWizardSize, getNextPage, getPage, getPageCount, getPages, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.jface.wizard.IWizard
getContainer, getDefaultPageImage, getDialogSettings, getMinimumWizardSize, getNextPage, getPage, getPageCount, getPages, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel
-
Constructor Details
-
SessionParameterWizard
public SessionParameterWizard()Instantiates a new session parameter wizard.
-
-
Method Details
-
createModel
public void createModel()Creates a model from the information stored in the wizard context. Stores the model in the wizard context. Called afterIDtNewWizard.detectModelClass().- Specified by:
createModelin interfaceIDtNewWizard<SessionParameter>- Overrides:
createModelin classDtNewWizard<SessionParameter>
-
getTypeFeature
protected org.eclipse.emf.ecore.EReference getTypeFeature()Description copied from class:DtAefMdWithTypeNewWizardReturns theEReferencethat represents the type feature.- Specified by:
getTypeFeaturein classDtAefMdWithTypeNewWizard<SessionParameter>- Returns:
- the
EReferenceinstance.
-
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<SessionParameter>- Returns:
- the name prefix.
-
setupMdMainPageViewModel
Description copied from class:DtAefMdNewWizardSetups theNewWizardPageViewModelfor main page.
Actually it is needed to set title and description features.- Specified by:
setupMdMainPageViewModelin classDtAefMdNewWizard<SessionParameter>- Parameters:
viewModel- the view model.
-