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 withMdObject
fields and with additional features which are attached by extension pointMdModelTypesExtension
.
-
-
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
Constructors Constructor Description MdTypedModelNewWizardPageComponent(IMdObjectAvailability mdObjectAvailability)
Constructor ofMdTypedModelNewWizardPageComponent
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
attachToModel()
Attaches this component to the model.protected List<IComponent<?>>
createAdditionalComponents()
Creates and embed additional features pointed in extensions.protected DtTextComponent
createCommentComponent()
Creates aMdObject
comment component and embed it in page.protected DtTextComponent
createNameComponent()
Creates aMdObject
name component and embed it in page.protected RadioGroupComponent<MdModelTypesExtension>
createTypesComponent()
Creates and embed the radio group component for selecting the type.protected void
detachFromModel()
Detaches this component from the model.protected String
getPageDescription()
Returns page description.protected String
getSelectTypeLabel()
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 Detail
-
MdTypedModelNewWizardPageComponent
public MdTypedModelNewWizardPageComponent(IMdObjectAvailability mdObjectAvailability)
Constructor ofMdTypedModelNewWizardPageComponent
.- Parameters:
mdObjectAvailability
- the metadata object availability service, cannot benull
-
-
Method Detail
-
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
protected DtTextComponent 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
protected DtTextComponent 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
protected List<IComponent<?>> createAdditionalComponents()
Creates and embed additional features pointed in extensions.- Returns:
- the list of created components
-
createTypesComponent
protected RadioGroupComponent<MdModelTypesExtension> createTypesComponent()
Creates and embed the radio group component for selecting the type.- Returns:
- the newly created component
-
getPageDescription
protected String getPageDescription()
Returns page description.- Returns:
- the page description, cannot be
null
-
getSelectTypeLabel
protected String getSelectTypeLabel()
Returns select type label.- Returns:
- the select type label, cannot be
null
-
-