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,ConfigurationWizardModel>
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,ConfigurationWizardModel>
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 inherited from class com._1c.g5.v8.dt.md.ui.wizards.AbstractProjectWizard
id
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
ConstructorsConstructorDescriptionConfigurationWizard
(IRuntimeVersionSupport runtimeVersionSupport) Instantiates a new configuration wizard. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Creates a model from the information stored in the wizard context.protected ConfigurationWizardModel
Create wizard model.void
TheDtNewWizard
implementation of this wizard method does nothing.protected String
Returns help context id to bind help to.void
init
(org.eclipse.ui.IWorkbench workbench, IStructuredSelection selection) protected void
Integrates the created model in the enclosing model.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
dispose, 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, 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
-
ConfigurationWizard
Instantiates a new configuration 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<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
Description copied from class:DtNewWizard
- Specified by:
init
in interfaceorg.eclipse.ui.IWorkbenchWizard
- Overrides:
init
in classAbstractProjectWizard<Configuration,
ConfigurationWizardModel>
-
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>
-
doAddPages
public void doAddPages()Description copied from class:DtNewWizard
TheDtNewWizard
implementation of this wizard method does nothing. Subclasses should extend if extra pages need to be added before the wizard opens. New pages should be added by callingaddPage
.- Overrides:
doAddPages
in classAbstractProjectWizard<Configuration,
ConfigurationWizardModel>
-
getContextHelpId
Description copied from class:AbstractProjectWizard
Returns help context id to bind help to.- Overrides:
getContextHelpId
in classAbstractProjectWizard<Configuration,
ConfigurationWizardModel> - Returns:
- help context id or
null
if no help is needed
-
createWizardModel
Description copied from class:AbstractProjectWizard
Create wizard model.- Overrides:
createWizardModel
in classAbstractProjectWizard<Configuration,
ConfigurationWizardModel> - Returns:
- a new wizard model, never
null
-
integrateModel
protected void integrateModel() throws org.eclipse.core.runtime.CoreExceptionDescription copied from class:DtNewWizard
Integrates the created model in the enclosing model. Called at wizard finish.- Overrides:
integrateModel
in classDtNewWizard<Configuration>
- Throws:
org.eclipse.core.runtime.CoreException
- if the model integrations fails with some reason
-