Class DefaultLabelService

    • Constructor Detail

      • DefaultLabelService

        public DefaultLabelService()
    • Method Detail

      • getObjectTextLabel

        public java.lang.String getObjectTextLabel​(TypedObject object)
        Specified by:
        getObjectTextLabel in interface LabelService
        Returns:
        label string to display for a given TypeObject
      • getObjectTextLabelForTypedObject

        public java.lang.String getObjectTextLabelForTypedObject​(TypedObject object)
        Gets the object text label for typed object.
        Specified by:
        getObjectTextLabelForTypedObject in interface LabelService
        Parameters:
        object - the object
        Returns:
        the object text label for typed object
      • getObjectDescriptionForTypedObject

        public java.lang.String getObjectDescriptionForTypedObject​(TypedObject object)
        Gets the object description for typed object.
        Specified by:
        getObjectDescriptionForTypedObject in interface LabelService
        Parameters:
        object - the object
        Returns:
        the object description for typed object
      • getObjectIconPath

        public java.lang.String getObjectIconPath​(TypedObject object)
        Specified by:
        getObjectIconPath in interface LabelService
        Returns:
        path to picture to display for a given TypeObject, can return null when picture is not defined
      • getObjectIconPathForTypedObject

        public java.lang.String getObjectIconPathForTypedObject​(TypedObject object)
        Gets the object icon path for typed object.
        Specified by:
        getObjectIconPathForTypedObject in interface LabelService
        Parameters:
        object - the object
        Returns:
        the object icon path for typed object
      • setUiConfigurationService

        public void setUiConfigurationService​(UIConfigurationService uiConfigurationService)
      • setCockpitTypeService

        public void setCockpitTypeService​(TypeService typeService)
      • setSessionService

        public void setSessionService​(SessionService sessionService)