Package com._1c.g5.v8.dt.md.ui.wizards
Class PredefinedItemWizard<M extends PredefinedItem>
- 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.PredefinedItemWizard<M>
-
- All Implemented Interfaces:
IDtNewWizard<M>,org.eclipse.core.runtime.IExecutableExtension,org.eclipse.jface.window.IShellProvider,org.eclipse.jface.wizard.IWizard,org.eclipse.ui.INewWizard,org.eclipse.ui.IWorkbenchWizard
- Direct Known Subclasses:
PredefinedAccountWizard,PredefinedCalculationTypeWizard,PredefinedCharacteristicTypeWizard,PredefinedFolderWizard
public class PredefinedItemWizard<M extends PredefinedItem> extends DtAefNewWizard<M>
DtAefNewWizardimplementation that is used forPredefinedItemcreation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classPredefinedItemWizard.ByFeatures
-
Field Summary
Fields Modifier and Type Field Description static StringWIZARD_IDWizard ID const.-
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 PredefinedItemWizard()Instantiates a new predefined item wizard.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateModel()Creates a model from the information stored in the wizard context.protected PredefinedItemNewWizardPage<? extends IPredefinedItemModel>createPredefinedItemMainPage()protected IPredefinedItemModelcreatePredefinedItemModel()voiddispose()voiddoAddPages()TheDtNewWizardimplementation of this wizard method does nothing.protected IModelgetModelForPageComponent(NewWizardPageComponent<?> component)Returns AEF model for the given component.protected voidpreProcessBmIntegration(IBmTransaction transaction, org.eclipse.core.runtime.IProgressMonitor monitor)Descendants could add additional data preprocessing before integrated to the model.-
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, init, integrateModel, integrateModel, performFinish, postProcessBmIntegration, 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
-
WIZARD_ID
public static final String WIZARD_ID
Wizard ID const.- See Also:
- Constant Field Values
-
-
Method Detail
-
dispose
public void dispose()
- Specified by:
disposein interfaceorg.eclipse.jface.wizard.IWizard- Overrides:
disposein classDtAefNewWizard<M extends PredefinedItem>
-
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 classDtNewWizard<M extends PredefinedItem>
-
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<M extends PredefinedItem>- Overrides:
createModelin classDtNewWizard<M extends PredefinedItem>
-
preProcessBmIntegration
protected void preProcessBmIntegration(IBmTransaction transaction, org.eclipse.core.runtime.IProgressMonitor monitor)
Description copied from class:DtNewWizardDescendants could add additional data preprocessing before integrated to the model.- Overrides:
preProcessBmIntegrationin classDtNewWizard<M extends PredefinedItem>- Parameters:
transaction- the transaction the task is being executed in, cannot benullmonitor- the task progress monitor, cannot benull
-
getModelForPageComponent
protected IModel getModelForPageComponent(NewWizardPageComponent<?> component)
Description copied from class:DtAefNewWizardReturns AEF model for the given component. Override to support components that is added as pages withDtAefNewWizard.addPage(NewWizardPageComponent).- Overrides:
getModelForPageComponentin classDtAefNewWizard<M extends PredefinedItem>- Parameters:
component- the component- Returns:
- model for the given component or
null.
-
createPredefinedItemMainPage
protected PredefinedItemNewWizardPage<? extends IPredefinedItemModel> createPredefinedItemMainPage()
-
createPredefinedItemModel
protected IPredefinedItemModel createPredefinedItemModel()
-
-