Class AefLabelCheckStateMapper<M,​T extends CheckedItemViewModel>

    • Constructor Detail

      • AefLabelCheckStateMapper

        public AefLabelCheckStateMapper​(ILabelProvider labelProvider,
                                        ICheckStateProvider checkStateProvider)
        Creates a new mapper.
        Parameters:
        labelProvider - the label provider for mapping labels of domain model object to view model, cannot be null
        checkStateProvider - the check state provider for mapping the check state of the model object to view model state, cannot be null
      • AefLabelCheckStateMapper

        public AefLabelCheckStateMapper​(ILabelProvider labelProvider,
                                        boolean needDecorate,
                                        ICheckStateProvider checkStateProvider)
        Creates a new mapper.
        Parameters:
        labelProvider - the label provider for mapping labels of domain model object to view model, cannot be null
        needDecorate - true if need to wrapp ILabelProvider to DecoratingLabelProvider, false otherwise
        checkStateProvider - the check state provider for mapping the check state of the model object to view model state, cannot be null