Package com._1c.g5.v8.dt.md.ui.wizards
Class ConfigurationPage
- 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<ConfigurationWizardModel,Configuration>
-
- com._1c.g5.v8.dt.md.ui.wizards.ConfigurationPage
-
- All Implemented Interfaces:
IComponent<ConfigurationWizardModel>
,IEventChannel
public class ConfigurationPage extends RootObjectPage<ConfigurationWizardModel,Configuration>
The first page of the new configuration wizard.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com._1c.g5.aef2.standard.components.StandardComponent
StandardComponent.BindingDirection
-
-
Constructor Summary
Constructors Constructor Description ConfigurationPage(String title, String description, String helpId, IRuntimeVersionSupport runtimeVersionSupport, ILibraryRepository libraryRepository, ILibraryProjectManager libraryProjectManager)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
attachToModel()
Attaches this component to the model.protected void
detachFromModel()
Detaches this component from the model.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.-
Methods inherited from class com._1c.g5.v8.dt.md.ui.wizards.RootObjectPage
createComponents, createCustomComponents, createCustomProjectComponents, createProjectComponents, getNameComponent, getVersionCombo, setDefaultFocus
-
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, beginExternalUpdate, checkComponents, checkViewModels, commit, 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
-
ConfigurationPage
public ConfigurationPage(String title, String description, String helpId, IRuntimeVersionSupport runtimeVersionSupport, ILibraryRepository libraryRepository, ILibraryProjectManager libraryProjectManager)
Creates a new instance.- Parameters:
title
- the page title, cannot benull
description
- the page description, cannot benull
helpId
- the help context id to bind help to, cannot benull
runtimeVersionSupport
- the runtime version support, cannot benull
libraryRepository
- the library repository, cannot benull
libraryProjectManager
- the library project manager, cannot benull
-
-
Method Detail
-
doCreateComponents
protected void doCreateComponents()
Description copied from class:RootObjectPage
By default creates child components: name, synonym, comment fields, custom and project components.- Overrides:
doCreateComponents
in classRootObjectPage<ConfigurationWizardModel,Configuration>
-
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 classRootObjectPage<ConfigurationWizardModel,Configuration>
-
attachToModel
protected void attachToModel()
Description copied from class:Component
Attaches this component to the model. Override it to add some listeners to the model.- Overrides:
attachToModel
in classComponent<ConfigurationWizardModel,VoidParameterization>
-
detachFromModel
protected void detachFromModel()
Description copied from class:Component
Detaches this component from the model. Override it to remove listeners from the model.- Overrides:
detachFromModel
in classComponent<ConfigurationWizardModel,VoidParameterization>
-
getAvailableVersions
protected Collection<Version> getAvailableVersions()
Description copied from class:RootObjectPage
Returns the collection of available runtime versions to create the version combo. By default returns the list of all supported runtime versions.- Overrides:
getAvailableVersions
in classRootObjectPage<ConfigurationWizardModel,Configuration>
- Returns:
- the collection of the available runtime versions, never
null
-
-