Class OslcLabelProvider

    • Constructor Detail

      • OslcLabelProvider

        public OslcLabelProvider()
    • Method Detail

      • getText

        public String getText​(Object element)
        Returns the title of the specified OSLC resource, if any. The title is unescaped, so that HTML special characters are correctly displayed in JFace user interfaces (e.g. '>' is transformed to '>').
        Specified by:
        getText in interface ILabelProvider
        Overrides:
        getText in class LabelProvider
        See Also:
        getTitle(Object)
      • getTitle

        protected String getTitle​(Object element)
        Returns the title of the specified OSLC resource, if any.
        Parameters:
        element - an element which may be an OSLC resource.
        Returns:
        the title of the OSLC resource, null if none.