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 forRootObjectPage
with 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 void
createComponents()
Creates the child components of this component.protected void
createCustomComponents()
Create custom components after name, synonym and comment fields.protected void
createCustomProjectComponents()
Create custom components after project name ifneedToCreateProject
istrue
.protected void
createProjectComponents()
Creates project components.protected void
disposeComponents()
Disposes the child components.protected void
doCreateComponents()
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.DtTextComponent
getNameComponent()
AbstractDtComboSelectComponent<Version,IValue<Version>,?>
getVersionCombo()
void
setDefaultFocus()
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 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 Detail
-
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
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: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
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
-
-