Package com._1c.g5.v8.dt.md.ui.wizards
Class CommonPictureWizard
- 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.base.aef.DtAefMdNewWizard<CommonPicture>
- 
- com._1c.g5.v8.dt.md.ui.wizards.CommonPictureWizard
 
 
 
 
 
- 
- All Implemented Interfaces:
- IDtNewWizard<CommonPicture>,- 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 CommonPictureWizard extends DtAefMdNewWizard<CommonPicture> Common picture wizard.
- 
- 
Field Summary- 
Fields inherited from class com._1c.g5.v8.dt.md.ui.wizards.base.aef.DtAefMdNewWizardmdObjectAvailability
 - 
Fields inherited from class com._1c.g5.v8.dt.md.ui.wizards.base.DtNewWizardconfigurationProvider, derivedDataManagerProvider, modelManager, resourceLookup, runtimeVersionSupport, selectionService, topObjectFqnGenerator, v8projectManager, wizardExtensionsRegistry
 
- 
 - 
Constructor SummaryConstructors Constructor Description CommonPictureWizard()Instantiates a new common picture wizard.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MdModelNewWizardPageComponent<? extends IMdObjectModel>createMdMainPage()protected voiddisposeMdObjectModel()Disposes the model if it is not null.protected IMdObjectModelgetMdObjectModel()ReturnsIMdObjectModel.protected StringgetNamePrefix()Returns the name prefix for the editingMdObject.voidintegrateModel(org.eclipse.core.runtime.IProgressMonitor monitor)Integrates the created model in the enclosing model.protected voidpostProcessBmIntegration(IBmTransaction transaction, org.eclipse.core.runtime.IProgressMonitor monitor)Descendants could add additional data postprocessing to the model being integrated.voidsetSilentMode(boolean silent)Sets the silent mode for the wizard.protected voidsetupMdMainPageViewModel(NewWizardPageViewModel viewModel)Setups theNewWizardPageViewModelfor main page.- 
Methods inherited from class com._1c.g5.v8.dt.md.ui.wizards.base.aef.DtAefMdNewWizardcreateMdObjectModel, dispose, disposeMainPageComponent, doAddPages, getMainPageComponent, getModelForPageComponent, getProjectNamePrefix
 - 
Methods inherited from class com._1c.g5.v8.dt.md.ui.wizards.base.aef.DtAefNewWizardaddPage, getEngine, onParentChanged
 - 
Methods inherited from class com._1c.g5.v8.dt.md.ui.wizards.base.DtNewWizardaddExtensionPages, addPages, canFinish, createModel, createPageControls, detectModelClass, detectParent, getContext, getPreviousPage, getSelection, init, integrateModel, performFinish, preProcessBmIntegration, setContainer, setInitializationData, setModelClassDetectionStrategy, setOpenEditorAfterCreation, setParentDetectionStrategy, setSelectAfterCreation, setShowParentSelectionPage
 - 
Methods inherited from class org.eclipse.jface.wizard.WizardaddPage, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle
 
- 
 
- 
- 
- 
Method Detail- 
setSilentModepublic void setSilentMode(boolean silent) Sets the silent mode for the wizard. It means that the common picture editor is not opened after creation and selection is not changed.- Parameters:
- silent- the silent value.
 
 - 
integrateModelpublic void integrateModel(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreExceptionDescription copied from class:DtNewWizardIntegrates the created model in the enclosing model. Called at wizard finish.- Specified by:
- integrateModelin interface- IDtNewWizard<CommonPicture>
- Overrides:
- integrateModelin class- DtNewWizard<CommonPicture>
- Parameters:
- monitor- the progress monitor to report progress to or- nullif progress report is not needed
- Throws:
- org.eclipse.core.runtime.CoreException- if model integrations fails with some reason
 
 - 
disposeMdObjectModelprotected void disposeMdObjectModel() Description copied from class:DtAefMdNewWizardDisposes the model if it is not null.- Overrides:
- disposeMdObjectModelin class- DtAefMdNewWizard<CommonPicture>
 
 - 
getMdObjectModelprotected IMdObjectModel getMdObjectModel() Description copied from class:DtAefMdNewWizardReturnsIMdObjectModel.- Overrides:
- getMdObjectModelin class- DtAefMdNewWizard<CommonPicture>
- Returns:
- the IMdObjectModel
 
 - 
createMdMainPageprotected MdModelNewWizardPageComponent<? extends IMdObjectModel> createMdMainPage() Description copied from class:DtAefMdNewWizard- Overrides:
- createMdMainPagein class- DtAefMdNewWizard<CommonPicture>
- Returns:
- a newly created page component.
 
 - 
postProcessBmIntegrationprotected void postProcessBmIntegration(IBmTransaction transaction, org.eclipse.core.runtime.IProgressMonitor monitor) Description copied from class:DtNewWizardDescendants could add additional data postprocessing to the model being integrated.- Overrides:
- postProcessBmIntegrationin class- DtNewWizard<CommonPicture>
- Parameters:
- transaction- The transaction the task is being executed in.
- monitor- The task progress monitor.
 
 - 
getNamePrefixprotected String getNamePrefix() Description copied from class:DtAefMdNewWizardReturns the name prefix for the editingMdObject.
 For example, forCatalogobject it would be "Catalog" string. Its value is used for unique name generation. So, if the name prefix is specified that is mentioned above, then unique names would be generated as "Catalog1", "Catalog2" etc.- Specified by:
- getNamePrefixin class- DtAefMdNewWizard<CommonPicture>
- Returns:
- the name prefix.
 
 - 
setupMdMainPageViewModelprotected void setupMdMainPageViewModel(NewWizardPageViewModel viewModel) Description copied from class:DtAefMdNewWizardSetups theNewWizardPageViewModelfor main page.
 Actually it is needed to set title and description features.- Specified by:
- setupMdMainPageViewModelin class- DtAefMdNewWizard<CommonPicture>
- Parameters:
- viewModel- the view model.
 
 
- 
 
-