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
DtAefNewWizard implementation that is used for PredefinedItem creation.-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCreates a model from the information stored in the wizard context.protected PredefinedItemNewWizardPage<? extends IPredefinedItemModel>protected IPredefinedItemModelvoiddispose()voidTheDtNewWizardimplementation 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, onParentChangedMethods 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, 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
-
Field Details
-
WIZARD_ID
Wizard ID const.- See Also:
-
-
Constructor Details
-
PredefinedItemWizard
public PredefinedItemWizard()Instantiates a new predefined item wizard.
-
-
Method Details
-
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
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
-