Class CommonAttributeContentTreeComponent.CommonAttributeContentMapper
- java.lang.Object
-
- com._1c.g5.v8.dt.ui.aef.mappers.AefLabelMapper<M,T>
-
- com._1c.g5.v8.dt.ui.aef.mappers.AefLabelCheckStateMapper<Object,TreeItemViewModel>
-
- com._1c.g5.v8.dt.ui.aef.component.NavigatorTreeComponent.NavigatorMapper
-
- com._1c.g5.v8.dt.md.ui.aef.components.CommonAttributeContentTreeComponent.CommonAttributeContentMapper
-
- All Implemented Interfaces:
IMapper<Object,TreeItemViewModel>
,IViewModelsMapper<Object,TreeItemViewModel>
- Enclosing class:
- CommonAttributeContentTreeComponent
protected class CommonAttributeContentTreeComponent.CommonAttributeContentMapper extends NavigatorTreeComponent.NavigatorMapper
Extended mapper for the navigator content.
-
-
Field Summary
-
Fields inherited from class com._1c.g5.v8.dt.ui.aef.mappers.AefLabelMapper
labelProvider
-
-
Constructor Summary
Constructors Constructor Description CommonAttributeContentMapper()
Create instance ofCommonAttributeContentTreeComponent.CommonAttributeContentMapper
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TreeItemViewModel
createItemViewModel()
Creates a view model item.void
dispose()
Disposes this mapper, its view models adapters.void
updateItemViewModel(TreeItemViewModel item, Object modelValue)
Updates item view model.-
Methods inherited from class com._1c.g5.v8.dt.ui.aef.component.NavigatorTreeComponent.NavigatorMapper
createModelToView
-
Methods inherited from class com._1c.g5.v8.dt.ui.aef.mappers.AefLabelMapper
createMapKey, getMappedModels, getMappedViewModels, mapModelToView, mapViewToModel
-
-
-
-
Constructor Detail
-
CommonAttributeContentMapper
public CommonAttributeContentMapper()
Create instance ofCommonAttributeContentTreeComponent.CommonAttributeContentMapper
-
-
Method Detail
-
dispose
public void dispose()
Disposes this mapper, its view models adapters.
-
createItemViewModel
protected TreeItemViewModel createItemViewModel()
Description copied from class:AefLabelMapper
Creates a view model item.- Overrides:
createItemViewModel
in classNavigatorTreeComponent.NavigatorMapper
- Returns:
- the newly created view model, cannot be
null
-
updateItemViewModel
public void updateItemViewModel(TreeItemViewModel item, Object modelValue)
Description copied from class:AefLabelCheckStateMapper
Updates item view model.- Specified by:
updateItemViewModel
in interfaceIViewModelsMapper<Object,TreeItemViewModel>
- Overrides:
updateItemViewModel
in classAefLabelCheckStateMapper<Object,TreeItemViewModel>
- Parameters:
item
- the item view model, cannot benull
modelValue
- modelValue the model value, cannot benull
-
-