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
ConstructorsConstructorDescriptionRootObjectPage(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
Modifier and TypeMethodDescriptionprotected voidCreates the child components of this component.protected voidCreate custom components after name, synonym and comment fields.protected voidCreate custom components after project name ifneedToCreateProjectistrue.protected voidCreates project components.protected voidDisposes the child components.protected voidBy default creates child components: name, synonym, comment fields, custom and project components.protected Collection<Version>Returns the collection of available runtime versions to create the version combo.voidSets 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, getPageViewModelMethods 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, updateViewModelsMethods inherited from class com._1c.g5.aef2.standard.components.StandardComponent
bindList, bindModel, bindValue, bindValue, createDefaultViewModelList, createDefaultViewModelValue, getLayoutData, handleExternalValidationEvent, isEnabled, isPassive, setEnabled, setFocus, setLayoutData, updateViewModelStatusMethods 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 Details
-
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 Details
-
setDefaultFocus
public void setDefaultFocus()Description copied from class:NewWizardPageComponentSets default focus on the page.- Specified by:
setDefaultFocusin classNewWizardPageComponent<T extends AbstractProjectWizard.WizardModel<M>>
-
getNameComponent
- Returns:
- the nameComponent, not
null
-
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
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
-