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
idFields 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
ConstructorsConstructorDescriptionConfigurationWizard(IRuntimeVersionSupport runtimeVersionSupport) Instantiates a new configuration wizard. -
Method Summary
Modifier and TypeMethodDescriptionvoidCreates a model from the information stored in the wizard context.protected ConfigurationWizardModelCreate wizard model.voidTheDtNewWizardimplementation of this wizard method does nothing.protected StringReturns help context id to bind help to.voidinit(org.eclipse.ui.IWorkbench workbench, IStructuredSelection selection) protected voidIntegrates the created model in the enclosing model.voidintegrateModel(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, setPageTitleMethods 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, 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
-
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:DtNewWizardIntegrates the created model in the enclosing model. Called at wizard finish.- Specified by:
integrateModelin interfaceIDtNewWizard<Configuration>- Overrides:
integrateModelin classDtNewWizard<Configuration>- Parameters:
monitor- the progress monitor to report progress to ornullif 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:
initin interfaceorg.eclipse.ui.IWorkbenchWizard- Overrides:
initin classAbstractProjectWizard<Configuration,ConfigurationWizardModel>
-
createModel
public void createModel()Description copied from class:DtNewWizardCreates a model from the information stored in the wizard context. Stores the model in the wizard context. Called afterIDtNewWizard.detectModelClass().- Specified by:
createModelin interfaceIDtNewWizard<Configuration>- Overrides:
createModelin classDtNewWizard<Configuration>
-
doAddPages
public void doAddPages()Description copied from class:DtNewWizardTheDtNewWizardimplementation 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:
doAddPagesin classAbstractProjectWizard<Configuration,ConfigurationWizardModel>
-
getContextHelpId
Description copied from class:AbstractProjectWizardReturns help context id to bind help to.- Overrides:
getContextHelpIdin classAbstractProjectWizard<Configuration,ConfigurationWizardModel> - Returns:
- help context id or
nullif no help is needed
-
createWizardModel
Description copied from class:AbstractProjectWizardCreate wizard model.- Overrides:
createWizardModelin classAbstractProjectWizard<Configuration,ConfigurationWizardModel> - Returns:
- a new wizard model, never
null
-
integrateModel
protected void integrateModel() throws org.eclipse.core.runtime.CoreExceptionDescription copied from class:DtNewWizardIntegrates the created model in the enclosing model. Called at wizard finish.- Overrides:
integrateModelin classDtNewWizard<Configuration>- Throws:
org.eclipse.core.runtime.CoreException- if the model integrations fails with some reason
-