Class NavigatorTableComponent.NavigatorMapper

    • Constructor Detail

      • NavigatorMapper

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

      • createModelToView

        protected TableItemViewModel createModelToView​(org.eclipse.emf.ecore.EObject modelValue)
        Description copied from class: AefLabelMapper
        Creates and updates a view model item.
        Overrides:
        createModelToView in class AefLabelMapper<org.eclipse.emf.ecore.EObject,​TableItemViewModel>
        Parameters:
        modelValue - the model value, cannot be null
        Returns:
        the newly created view model, cannot be null
      • mapObjects

        protected void mapObjects​(org.eclipse.emf.ecore.EObject eObject)
        Maps item objects to feature and creates model listeners.
        Parameters:
        eObject - the e-object