Class MdTypedModelNewWizardPageComponent<M extends IMdTypedObjectModel>
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<M>
com._1c.g5.v8.dt.md.ui.wizards.base.aef.MdModelNewWizardPageComponent<M>
com._1c.g5.v8.dt.md.ui.wizards.base.aef.MdTypedModelNewWizardPageComponent<M>
- All Implemented Interfaces:
IComponent<M>
,IEventChannel
public class MdTypedModelNewWizardPageComponent<M extends IMdTypedObjectModel>
extends MdModelNewWizardPageComponent<M>
Component for wizard page that operates with
MdObject
fields
and with additional features which are attached by extension point
MdModelTypesExtension
.-
Nested Class Summary
Nested classes/interfaces inherited from class com._1c.g5.aef2.standard.components.StandardComponent
StandardComponent.BindingDirection
-
Field Summary
Fields inherited from class com._1c.g5.v8.dt.md.ui.wizards.base.aef.MdModelNewWizardPageComponent
PAGE_ID
-
Constructor Summary
ConstructorsConstructorDescriptionMdTypedModelNewWizardPageComponent
(IMdObjectAvailability mdObjectAvailability) Constructor ofMdTypedModelNewWizardPageComponent
. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Attaches this component to the model.protected List<IComponent<?>>
Creates and embed additional features pointed in extensions.protected DtTextComponent
Creates aMdObject
comment component and embed it in page.protected DtTextComponent
Creates aMdObject
name component and embed it in page.protected RadioGroupComponent<MdModelTypesExtension>
Creates and embed the radio group component for selecting the type.protected void
Detaches this component from the model.protected String
Returns page description.protected String
Returns select type label.Methods inherited from class com._1c.g5.v8.dt.md.ui.wizards.base.aef.MdModelNewWizardPageComponent
createComponents, createParentComponent, createSynonymComponent, disposeComponents, getTopObject, 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 Details
-
MdTypedModelNewWizardPageComponent
Constructor ofMdTypedModelNewWizardPageComponent
.- Parameters:
mdObjectAvailability
- the metadata object availability service, cannot benull
-
-
Method Details
-
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 classMdModelNewWizardPageComponent<M extends IMdTypedObjectModel>
-
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 classMdModelNewWizardPageComponent<M extends IMdTypedObjectModel>
-
createNameComponent
Description copied from class:MdModelNewWizardPageComponent
Creates aMdObject
name component and embed it in page.- Overrides:
createNameComponent
in classMdModelNewWizardPageComponent<M extends IMdTypedObjectModel>
- Returns:
- the name component
-
createCommentComponent
Description copied from class:MdModelNewWizardPageComponent
Creates aMdObject
comment component and embed it in page.- Overrides:
createCommentComponent
in classMdModelNewWizardPageComponent<M extends IMdTypedObjectModel>
- Returns:
- the comment component
-
createAdditionalComponents
Creates and embed additional features pointed in extensions.- Returns:
- the list of created components
-
createTypesComponent
Creates and embed the radio group component for selecting the type.- Returns:
- the newly created component
-
getPageDescription
Returns page description.- Returns:
- the page description, cannot be
null
-
getSelectTypeLabel
Returns select type label.- Returns:
- the select type label, cannot be
null
-