Class ExchangePlanContentComponent.ExchangePlatContentMapper
- 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.editor.aef.descriptor.exchangeplan.ExchangePlanContentComponent.ExchangePlatContentMapper
-
- All Implemented Interfaces:
IMapper<Object,TreeItemViewModel>
,IViewModelsMapper<Object,TreeItemViewModel>
- Enclosing class:
- ExchangePlanContentComponent
protected class ExchangePlanContentComponent.ExchangePlatContentMapper extends NavigatorTreeComponent.NavigatorMapper
Mapper for the exchange plan content.
-
-
Field Summary
-
Fields inherited from class com._1c.g5.v8.dt.ui.aef.mappers.AefLabelMapper
labelProvider
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ExchangePlatContentMapper(ILabelProvider labelProvider, ICheckStateProvider checkStateProvider)
Creates an instance ofExchangePlanContentComponent.ExchangePlatContentMapper
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TreeItemViewModel
createItemViewModel()
Creates a view model item.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
-
ExchangePlatContentMapper
protected ExchangePlatContentMapper(ILabelProvider labelProvider, ICheckStateProvider checkStateProvider)
Creates an instance ofExchangePlanContentComponent.ExchangePlatContentMapper
.- Parameters:
labelProvider
- the label provider, cannot benull
checkStateProvider
- the check state provider, cannot benull
-
-
Method Detail
-
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
-
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
-
-