Package com._1c.g5.v8.dt.md.ui.wizards
Class RootObjectPage<T extends AbstractProjectWizard.WizardModel<M>,M extends MdObject>
- java.lang.Object
-
- com._1c.g5.aef2.components.Component<M,P>
-
- com._1c.g5.aef2.standard.components.StandardComponent<M,P>
-
- com._1c.g5.aef2.standard.components.ContainerComponent<M,VoidParameterization>
-
- com._1c.g5.v8.dt.md.ui.wizards.base.aef.NewWizardPageComponent<T>
-
- com._1c.g5.v8.dt.md.ui.wizards.RootObjectPage<T,M>
-
- All Implemented Interfaces:
IComponent<T>,IEventChannel
- Direct Known Subclasses:
AbstractDependentProjectWizard.DependedRootObjectPage,ConfigurationPage
public class RootObjectPage<T extends AbstractProjectWizard.WizardModel<M>,M extends MdObject> extends NewWizardPageComponent<T>
Root object wizard page.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com._1c.g5.aef2.standard.components.StandardComponent
StandardComponent.BindingDirection
-
-
Constructor Summary
Constructors Constructor Description RootObjectPage(String id, String title, String description, IRuntimeVersionSupport runtimeVersionSupport)Constructor forRootObjectPagewith title and description.RootObjectPage(String id, String title, String description, String helpId, IRuntimeVersionSupport runtimeVersionSupport)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcreateComponents()Creates the child components of this component.protected voidcreateCustomComponents()Create custom components after name, synonym and comment fields.protected voidcreateCustomProjectComponents()Create custom components after project name ifneedToCreateProjectistrue.protected voidcreateProjectComponents()Creates project components.protected voiddisposeComponents()Disposes the child components.protected voiddoCreateComponents()By default creates child components: name, synonym, comment fields, custom and project components.protected Collection<Version>getAvailableVersions()Returns the collection of available runtime versions to create the version combo.DtTextComponentgetNameComponent()AbstractDtComboSelectComponent<Version,IValue<Version>,?>getVersionCombo()voidsetDefaultFocus()Sets default focus on the page.-
Methods inherited from class com._1c.g5.v8.dt.md.ui.wizards.base.aef.NewWizardPageComponent
createCombo, createCombo, createContainerViewModel, createMultilanguage, createText, createText, disposeViewModels, field, getLayout, getPageViewModel
-
Methods inherited from class com._1c.g5.aef2.standard.components.ContainerComponent
addComponent, button, button, checkBox, checkBox, combo, createViewModels, disposeChildren, field, field, getContainerViewModel, isEditable, label, label, refreshChildren, separator, spinner, text, updateViewModels
-
Methods inherited from class com._1c.g5.aef2.standard.components.StandardComponent
bindList, bindModel, bindValue, bindValue, createDefaultViewModelList, createDefaultViewModelValue, getLayoutData, handleExternalValidationEvent, isEnabled, isPassive, setEnabled, setFocus, setLayoutData, updateViewModelStatus
-
Methods inherited from class com._1c.g5.aef2.components.Component
addListener, addViewModel, areChildCommitsEnabled, areChildRefreshEnabled, areComponentsCreated, attachToModel, beginExternalUpdate, checkComponents, checkViewModels, commit, detachFromModel, dispose, endExternalUpdate, getComponents, getModel, getParameterization, getParent, getRunnableQueue, getScene, getServiceEventQualifiers, getViewModels, isDisposed, isInExternalUpdate, queueAndWaitEvent, queueEvent, removeComponent, removeListener, removeViewModel, setChildCommitsEnabled, setChildRefreshEnable, setModel, setParent, setScene, subscribeOnEvents, subscribeOnEvents, unsubscribeOnEvents
-
-
-
-
Constructor Detail
-
RootObjectPage
public RootObjectPage(String id, String title, String description, IRuntimeVersionSupport runtimeVersionSupport)
Constructor forRootObjectPagewith title and description.- Parameters:
id- - wizard model id, notnulltitle- - page title, notnulldescription- -page description, notnullruntimeVersionSupport- - notnull
-
RootObjectPage
public RootObjectPage(String id, String title, String description, String helpId, IRuntimeVersionSupport runtimeVersionSupport)
-
-
Method Detail
-
setDefaultFocus
public void setDefaultFocus()
Description copied from class:NewWizardPageComponentSets default focus on the page.- Specified by:
setDefaultFocusin classNewWizardPageComponent<T extends AbstractProjectWizard.WizardModel<M>>
-
getNameComponent
public DtTextComponent getNameComponent()
- Returns:
- the nameComponent, not
null
-
getVersionCombo
public AbstractDtComboSelectComponent<Version,IValue<Version>,?> getVersionCombo()
- Returns:
- the versionCombo,not
null
-
createComponents
protected void createComponents()
Description copied from class:ComponentCreates the child components of this component. Override it to fill a component with a child components.Method can be called multiple times.
- Overrides:
createComponentsin classComponent<T extends AbstractProjectWizard.WizardModel<M>,VoidParameterization>
-
disposeComponents
protected void disposeComponents()
Description copied from class:ComponentDisposes the child components. Override it to do some additional disposal operations specific to a component.- Overrides:
disposeComponentsin classComponent<T extends AbstractProjectWizard.WizardModel<M>,VoidParameterization>
-
createCustomComponents
protected void createCustomComponents()
Create custom components after name, synonym and comment fields. Default implementation does nothing.
-
createCustomProjectComponents
protected void createCustomProjectComponents()
Create custom components after project name ifneedToCreateProjectistrue. Default implementation does nothing.
-
doCreateComponents
protected void doCreateComponents()
By default creates child components: name, synonym, comment fields, custom and project components.
-
createProjectComponents
protected void createProjectComponents()
Creates project components.
-
getAvailableVersions
protected Collection<Version> getAvailableVersions()
Returns the collection of available runtime versions to create the version combo. By default returns the list of all supported runtime versions.- Returns:
- the collection of the available runtime versions, never
null
-
-