Class CodeComponent
- 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.AbstractControlComponent<M,P,VM>
-
- com._1c.g5.v8.dt.ui.aef.component.AbstractDtSelectComponent<ICodeModel<? extends org.eclipse.emf.ecore.EObject>,IDtActionBarParameterization,PredefinedItemCodeViewModel>
-
- com._1c.g5.v8.dt.md.ui.aef.components.CodeComponent
-
- All Implemented Interfaces:
IComponent<ICodeModel<? extends org.eclipse.emf.ecore.EObject>>
,IEventChannel
public class CodeComponent extends AbstractDtSelectComponent<ICodeModel<? extends org.eclipse.emf.ecore.EObject>,IDtActionBarParameterization,PredefinedItemCodeViewModel>
Predefined item code component.
-
-
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.ui.aef.component.AbstractDtSelectComponent
CLEAR_BUTTON_COMMAND_ID, DEFAULT_CONTEXT, OPEN_BUTTON_COMMAND_ID, SELECT_BUTTON_COMMAND_ID
-
-
Constructor Summary
Constructors Constructor Description CodeComponent(IDtActionBarParameterization parameterization)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PredefinedItemCodeViewModel
createControlViewModel()
Creates control view model instance.protected IMapper<Object,String>
createMapper()
-
Methods inherited from class com._1c.g5.v8.dt.ui.aef.component.AbstractDtSelectComponent
createButtonItem, createButtons, createClearButtonItem, createOpenButtonItem, createSelectButtonItem, createViewModels, dispose, handleButtonClicked
-
Methods inherited from class com._1c.g5.aef2.standard.components.AbstractControlComponent
disposeViewModels, getControlViewModel, handleExternalValidationEvent, isEditable, refresh, setLayoutData, updateViewModels
-
Methods inherited from class com._1c.g5.aef2.standard.components.StandardComponent
bindList, bindModel, bindValue, bindValue, createDefaultViewModelList, createDefaultViewModelValue, getLayoutData, isEnabled, isPassive, setEnabled, setFocus, updateViewModelStatus
-
Methods inherited from class com._1c.g5.aef2.components.Component
addComponent, addListener, addViewModel, areChildCommitsEnabled, areChildRefreshEnabled, areComponentsCreated, attachToModel, beginExternalUpdate, checkComponents, checkViewModels, commit, createComponents, detachFromModel, disposeComponents, 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
-
CodeComponent
public CodeComponent(IDtActionBarParameterization parameterization)
Constructor. Uses from properties when edits contained item.- Parameters:
parameterization
- the parameterization, cannot benull
-
-
Method Detail
-
createControlViewModel
protected PredefinedItemCodeViewModel createControlViewModel()
Description copied from class:AbstractControlComponent
Creates control view model instance.- Specified by:
createControlViewModel
in classAbstractControlComponent<ICodeModel<? extends org.eclipse.emf.ecore.EObject>,IDtActionBarParameterization,PredefinedItemCodeViewModel>
- Returns:
- a newly created control view model.
-
-