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 forRootObjectPage
with title and description.RootObjectPage
(String id, String title, String description, String helpId, IRuntimeVersionSupport runtimeVersionSupport) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Creates the child components of this component.protected void
Create custom components after name, synonym and comment fields.protected void
Create custom components after project name ifneedToCreateProject
istrue
.protected void
Creates project components.protected void
Disposes the child components.protected void
By 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.void
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 Details
-
RootObjectPage
public RootObjectPage(String id, String title, String description, IRuntimeVersionSupport runtimeVersionSupport) Constructor forRootObjectPage
with title and description.- Parameters:
id
- - wizard model id, notnull
title
- - page title, notnull
description
- -page description, notnull
runtimeVersionSupport
- - notnull
-
RootObjectPage
public RootObjectPage(String id, String title, String description, String helpId, IRuntimeVersionSupport runtimeVersionSupport)
-
-
Method Details
-
setDefaultFocus
public void setDefaultFocus()Description copied from class:NewWizardPageComponent
Sets default focus on the page.- Specified by:
setDefaultFocus
in 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:Component
Creates the child components of this component. Override it to fill a component with a child components.Method can be called multiple times.
- Overrides:
createComponents
in classComponent<T extends AbstractProjectWizard.WizardModel<M>,
VoidParameterization>
-
disposeComponents
protected void disposeComponents()Description copied from class:Component
Disposes the child components. Override it to do some additional disposal operations specific to a component.- Overrides:
disposeComponents
in 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 ifneedToCreateProject
istrue
. 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
-