Package com._1c.g5.v8.dt.md.ui.wizards
Class ConfigurationWizard
- 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.AbstractProjectWizard<Configuration,AbstractProjectWizard.WizardModel<Configuration>>
-
- com._1c.g5.v8.dt.md.ui.wizards.ConfigurationWizard
-
- All Implemented Interfaces:
IDtNewWizard<Configuration>
,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 ConfigurationWizard extends AbstractProjectWizard<Configuration,AbstractProjectWizard.WizardModel<Configuration>>
New configuration wizard.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com._1c.g5.v8.dt.md.ui.wizards.AbstractProjectWizard
AbstractProjectWizard.ObjectNameValidator, AbstractProjectWizard.WizardModel<M extends MdObject>
-
-
Field Summary
Fields Modifier and Type Field Description protected String
id
-
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 ConfigurationWizard(IRuntimeVersionSupport runtimeVersionSupport)
Instantiates a new configuration wizard.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createModel()
Creates a model from the information stored in the wizard context.protected String
getContextHelpId()
Returns help context id to bind help to.void
init(org.eclipse.ui.IWorkbench workbench, IStructuredSelection selection)
void
integrateModel(org.eclipse.core.runtime.IProgressMonitor monitor)
Integrates the created model in the enclosing model.-
Methods inherited from class com._1c.g5.v8.dt.md.ui.wizards.AbstractProjectWizard
createWizardModel, dispose, doAddPages, getExistedNames, getInitObjectName, getModelForPageComponent, getNameValidator, getObjectNamePrefix, getOrCreateWizardModel, getPageDescription, getPageTitle, getProjectName, getProjectPath, needToCreateProject, setNeedToCreateProject, setObjectNamePrefix, setObjectTypeNameMessage, setPageDescription, setPageTitle
-
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, createPageControls, detectModelClass, detectParent, getContext, getPreviousPage, getSelection, 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
-
-
-
-
Field Detail
-
id
protected final String id
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ConfigurationWizard
@Inject public ConfigurationWizard(IRuntimeVersionSupport runtimeVersionSupport)
Instantiates a new configuration wizard.
-
-
Method Detail
-
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<Configuration>
- Overrides:
integrateModel
in classDtNewWizard<Configuration>
- 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
-
init
public void init(org.eclipse.ui.IWorkbench workbench, IStructuredSelection selection)
Description copied from class:DtNewWizard
- Specified by:
init
in interfaceorg.eclipse.ui.IWorkbenchWizard
- Overrides:
init
in classAbstractProjectWizard<Configuration,AbstractProjectWizard.WizardModel<Configuration>>
-
createModel
public void createModel()
Description copied from class:DtNewWizard
Creates a model from the information stored in the wizard context. Stores the model in the wizard context. Called afterIDtNewWizard.detectModelClass()
.- Specified by:
createModel
in interfaceIDtNewWizard<Configuration>
- Overrides:
createModel
in classDtNewWizard<Configuration>
-
getContextHelpId
protected String getContextHelpId()
Description copied from class:AbstractProjectWizard
Returns help context id to bind help to.- Overrides:
getContextHelpId
in classAbstractProjectWizard<Configuration,AbstractProjectWizard.WizardModel<Configuration>>
- Returns:
- help context id or
null
if no help is needed
-
-