Package org.eclipse.ui.model
Interface IContributionService
-
public interface IContributionServiceInstances 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 StringTYPE_PREFERENCEcontributionType value for Preferencesstatic StringTYPE_PROPERTYcontributionType value for the PropertyDialog
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContributionComparatorgetComparatorFor(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
-
-