Class RightLabelProvider

    • Method Detail

      • getInstance

        public static RightLabelProvider getInstance()
        Returns the shared right label provider instance.
        Returns:
        the shared right label provider instance, never null
      • getSeparatedText

        public String getSeparatedText​(Right right)
        Returns the separated by lines text presentation of the right.
        Returns:
        the separated by lines text presentation of the right, never null
      • getSeparatedText

        public String getSeparatedText​(String rightName,
                                       String separator)
        Returns the separated by lines text presentation of the right based of right's name.
        Parameters:
        rightName - the right's name
        separator - the separator
        Returns:
        the separated by lines text presentation of the right, never null