Package com._1c.g5.v8.dt.md.ui.wizards
Class SubsystemWizard
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<Subsystem>
com._1c.g5.v8.dt.md.ui.wizards.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
Wizard that creates a new Subsystem resource.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
Detects model parent by provided features for subsystem wizard. -
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
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
Returns the name prefix for the editingMdObject
.void
integrateModel
(org.eclipse.core.runtime.IProgressMonitor monitor) Integrates the created model in the enclosing model.protected void
setupMdMainPageViewModel
(NewWizardPageViewModel viewModel) Setups theNewWizardPageViewModel
for main page.Methods inherited from class com._1c.g5.v8.dt.md.ui.wizards.base.aef.DtAefMdNewWizard
createMdMainPage, createMdObjectModel, dispose, disposeMainPageComponent, disposeMdObjectModel, 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, performFinish, postProcessBmIntegration, preProcessBmIntegration, setContainer, setInitializationData, setModelClassDetectionStrategy, setOpenEditorAfterCreation, setParentDetectionStrategy, setSelectAfterCreation, setShowParentSelectionPage
Methods 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, setWindowTitle
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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
-
SubsystemWizard
public SubsystemWizard()Instantiates a new subsystem wizard.
-
-
Method Details
-
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 interfaceIDtNewWizard<Subsystem>
- Overrides:
integrateModel
in classDtNewWizard<Subsystem>
- Parameters:
monitor
- the progress monitor to report progress to ornull
if progress report is not needed- Throws:
org.eclipse.core.runtime.CoreException
- if model integrations fails with some reason
-
getNamePrefix
Description copied from class:DtAefMdNewWizard
Returns the name prefix for the editingMdObject
.
For example, forCatalog
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 classDtAefMdNewWizard<Subsystem>
- Returns:
- the name prefix.
-
setupMdMainPageViewModel
Description copied from class:DtAefMdNewWizard
Setups theNewWizardPageViewModel
for main page.
Actually it is needed to set title and description features.- Specified by:
setupMdMainPageViewModel
in classDtAefMdNewWizard<Subsystem>
- Parameters:
viewModel
- the view model.
-