Package org.eclipse.ui.texteditor
Class ConfigurationElementSorter
java.lang.Object
org.eclipse.ui.texteditor.ConfigurationElementSorter
Allows to sort an array based on their elements' configuration elements
according to the prerequisite relation of their defining plug-ins.
This class may be subclassed.
- Since:
- 3.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract IConfigurationElement
getConfigurationElement
(Object object) Returns the configuration element for the given object.final void
Sorts the given array based on its elements' configuration elements according to the prerequisite relation of their defining plug-ins.
-
Constructor Details
-
ConfigurationElementSorter
public ConfigurationElementSorter()
-
-
Method Details
-
sort
Sorts the given array based on its elements' configuration elements according to the prerequisite relation of their defining plug-ins.- Parameters:
elements
- the array to be sorted
-
getConfigurationElement
Returns the configuration element for the given object.- Parameters:
object
- the object- Returns:
- the object's configuration element, must not be
null
-