Class DtGranularEditorPageAefComponent
- 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<IDtGranularEditorManagingModel,IParameterization>
-
- com._1c.g5.v8.dt.ui.editor.aef.components.DtGranularEditorPageAefComponent
-
- All Implemented Interfaces:
IComponent<IDtGranularEditorManagingModel>
,IEventChannel
,IManagingComponent<IDtGranularEditorManagingModel>
public class DtGranularEditorPageAefComponent extends ContainerComponent<IDtGranularEditorManagingModel,IParameterization> implements IManagingComponent<IDtGranularEditorManagingModel>
Parent component for AEF granular editor page. Content is based on builded page info.- See Also:
DtGranularEditorPageActionBuilder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com._1c.g5.aef2.standard.components.StandardComponent
StandardComponent.BindingDirection
-
-
Constructor Summary
Constructors Constructor Description DtGranularEditorPageAefComponent()
Constructor ofDtGranularEditorPageAefComponent
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
activateContexts(ContextActivationEvent event)
Activates event contexts.protected void
createComponents()
Creates the child components of this component.protected IDefinitionModel
createDefinitionModel(IContainerDefinition definition)
Creates a new definition model.void
deactivateContexts()
Deactivates active contexts.void
dispose()
Disposes this component, its view models and its child components.protected void
disposeComponents()
Disposes the child components.protected void
processChildComponents(IComponent<?> component)
Processes child components.-
Methods inherited from class com._1c.g5.aef2.standard.components.ContainerComponent
addComponent, button, button, checkBox, checkBox, combo, createContainerViewModel, 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, disposeViewModels, 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, endExternalUpdate, getComponents, getModel, getParameterization, getParent, getRunnableQueue, getScene, getServiceEventQualifiers, getViewModels, isDisposed, isInExternalUpdate, queueAndWaitEvent, queueEvent, removeComponent, removeListener, removeViewModel, setChildCommitsEnabled, setChildRefreshEnable, setModel, setParent, setScene, subscribeOnEvents, subscribeOnEvents, unsubscribeOnEvents
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com._1c.g5.aef2.components.IComponent
areChildCommitsEnabled, areChildRefreshEnabled, beginExternalUpdate, commit, endExternalUpdate, getComponents, getModel, getParent, getScene, getServiceEventQualifiers, getViewModels, isDisposed, isInExternalUpdate, setChildCommitsEnabled, setChildRefreshEnable, setModel, setParent, setScene
-
Methods inherited from interface com._1c.g5.aef2.events.IEventChannel
addListener, queueAndWaitEvent, queueEvent, removeListener
-
-
-
-
Constructor Detail
-
DtGranularEditorPageAefComponent
public DtGranularEditorPageAefComponent()
Constructor ofDtGranularEditorPageAefComponent
.- Parameters:
pageInfo
- the editor page info, cannot benull
v8projectManager
- the V8 project manager, cannot benull
contextService
- the context service, cannot benull
-
-
Method Detail
-
dispose
public void dispose()
Description copied from interface:IComponent
Disposes this component, its view models and its child components.- Specified by:
dispose
in interfaceIComponent<IDtGranularEditorManagingModel>
- Overrides:
dispose
in classComponent<IDtGranularEditorManagingModel,IParameterization>
-
activateContexts
public void activateContexts(ContextActivationEvent event)
Activates event contexts.- Parameters:
event
- the context event, cannot be
-
deactivateContexts
public void deactivateContexts()
Deactivates active contexts.
-
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<IDtGranularEditorManagingModel,IParameterization>
-
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<IDtGranularEditorManagingModel,IParameterization>
-
createDefinitionModel
protected IDefinitionModel createDefinitionModel(IContainerDefinition definition)
Creates a new definition model.- Returns:
- a newly created definition model.
-
processChildComponents
protected void processChildComponents(IComponent<?> component)
Processes child components. By default adds model listener to component models recursively.- Parameters:
component
- the child component
-
-