Class NavigatorTableComponent.NavigatorMapper

    • Constructor Detail

      • NavigatorMapper

        public NavigatorMapper​(ILabelProvider labelProvider,
                               ICheckStateProvider checkStateProvider)
        Creates a new mapper.
        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.
        createModelToView in class AefLabelMapper<org.eclipse.emf.ecore.EObject,​TableItemViewModel>
        modelValue - the model value, cannot be null
        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.
        eObject - the e-object