Interface IContributionService


  • public interface IContributionService
    Instances of this service are capable of providing standard mechanisms that clients may use to order, display, and generally work with contributions to the Workbench.
    Since:
    3.4
    • Field Detail

      • TYPE_PROPERTY

        static final java.lang.String TYPE_PROPERTY
        contributionType value for the PropertyDialog
        See Also:
        Constant Field Values
      • TYPE_PREFERENCE

        static final java.lang.String TYPE_PREFERENCE
        contributionType value for Preferences
        See Also:
        Constant Field Values
    • Method Detail

      • getComparatorFor

        ContributionComparator getComparatorFor​(java.lang.String contributionType)
        Return a comparator for ordering contributions within the user interface.
        Parameters:
        contributionType - the type of contribution, must not be null.
        Returns:
        the comparator
        See Also:
        TYPE_PREFERENCE, TYPE_PROPERTY