Class DataExchangeComponent
- 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.DtDynamicTableComponent<org.eclipse.emf.ecore.EObject,NavigatorTableModel,TableViewModel,INavigatorTableParameterization>
-
- com._1c.g5.v8.dt.ui.aef.component.NavigatorTableComponent
-
- com._1c.g5.v8.dt.md.ui.editor.aef.descriptor.dataexchange.DataExchangeComponent
-
- All Implemented Interfaces:
IComponent<NavigatorTableModel>
,IEventChannel
,ILabelProviderListener
public class DataExchangeComponent extends NavigatorTableComponent
The AEF 2.0 component for the data exchange.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com._1c.g5.v8.dt.ui.aef.component.NavigatorTableComponent
NavigatorTableComponent.NavigatorMapper
-
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.DtDynamicTableComponent
active, currentSelection
-
-
Constructor Summary
Constructors Constructor Description DataExchangeComponent(INavigatorTableParameterization parameterization)
Creates new component.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IViewModelsMapper<org.eclipse.emf.ecore.EObject,TableItemViewModel>
createTableMapper()
CreatesIMapper
instance.protected TableViewModel
createTableViewModel()
Create table view model.void
dispose()
Disposes this component, its view models and its child components.protected void
processEvent(IEvent event)
Processes the received event from table component.-
Methods inherited from class com._1c.g5.v8.dt.ui.aef.component.NavigatorTableComponent
processDoubleClickEvent
-
Methods inherited from class com._1c.g5.v8.dt.ui.aef.component.DtDynamicTableComponent
createContentProvider, createControlViewModel, disposeViewModels, getContentProvider, getMapper, labelProviderChanged, setSelection
-
Methods inherited from class com._1c.g5.aef2.standard.components.AbstractControlComponent
createViewModels, 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
-
DataExchangeComponent
public DataExchangeComponent(INavigatorTableParameterization parameterization)
Creates new component.- Parameters:
parameterization
- the parameterization, 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<NavigatorTableModel>
- Overrides:
dispose
in classNavigatorTableComponent
-
createTableViewModel
protected TableViewModel createTableViewModel()
Description copied from class:DtDynamicTableComponent
Create table view model.- Overrides:
createTableViewModel
in classDtDynamicTableComponent<org.eclipse.emf.ecore.EObject,NavigatorTableModel,TableViewModel,INavigatorTableParameterization>
- Returns:
- the table view model, never
null
-
createTableMapper
protected IViewModelsMapper<org.eclipse.emf.ecore.EObject,TableItemViewModel> createTableMapper()
Description copied from class:DtDynamicTableComponent
CreatesIMapper
instance.- Overrides:
createTableMapper
in classNavigatorTableComponent
- Returns:
- the newly created table mapper, cannot be
null
-
processEvent
protected void processEvent(IEvent event)
Description copied from class:DtDynamicTableComponent
Processes the received event from table component.- Overrides:
processEvent
in classNavigatorTableComponent
- Parameters:
event
- the event, cannot benull
-
-