Package org.eclipse.ui.model
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 Summary
Fields Modifier and Type Field Description static String
TYPE_PREFERENCE
contributionType value for Preferencesstatic String
TYPE_PROPERTY
contributionType value for the PropertyDialog
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContributionComparator
getComparatorFor(String contributionType)
Return a comparator for ordering contributions within the user interface.
-
-
-
Field Detail
-
TYPE_PROPERTY
static final String TYPE_PROPERTY
contributionType value for the PropertyDialog- See Also:
- Constant Field Values
-
TYPE_PREFERENCE
static final String TYPE_PREFERENCE
contributionType value for Preferences- See Also:
- Constant Field Values
-
-
Method Detail
-
getComparatorFor
ContributionComparator getComparatorFor(String contributionType)
Return a comparator for ordering contributions within the user interface.- Parameters:
contributionType
- the type of contribution, must not benull
.- Returns:
- the comparator
- See Also:
TYPE_PREFERENCE
,TYPE_PROPERTY
-
-