Eclipse Platform
Release 3.4

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
static String TYPE_PREFERENCE
          contributionType value for Preferences
static String TYPE_PROPERTY
          contributionType value for the PropertyDialog
 
Method Summary
 ContributionComparator getComparatorFor(String contributionType)
          Return a comparator for ordering contributions within the user interface.
 

Field Detail

TYPE_PROPERTY

public static final String TYPE_PROPERTY
contributionType value for the PropertyDialog

See Also:
Constant Field Values

TYPE_PREFERENCE

public static final String TYPE_PREFERENCE
contributionType value for Preferences

See Also:
Constant Field Values
Method Detail

getComparatorFor

public ContributionComparator getComparatorFor(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

Eclipse Platform
Release 3.4

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.