Package org.eclipse.jdt.ui
Class JavaElementSorter
java.lang.Object
org.eclipse.jface.viewers.ViewerComparator
org.eclipse.jface.viewers.ViewerSorter
org.eclipse.jdt.ui.JavaElementSorter
Deprecated.
Sorter for Java elements. Ordered by element category, then by element name.
Package fragment roots are sorted as ordered on the classpath.
This class may be instantiated; it is not intended to be subclassed.
- Since:
- 2.0
- Restriction:
- This class is not intended to be subclassed by clients.
-
Field Summary
Fields inherited from class org.eclipse.jface.viewers.ViewerSorter
collator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Deprecated.int
Deprecated.final Collator
Deprecated.The method is not intended to be used by clients.boolean
isSorterProperty
(Object element, Object property) Deprecated.Bug 22518.Methods inherited from class org.eclipse.jface.viewers.ViewerComparator
getComparator, isSorterProperty, sort
-
Constructor Details
-
JavaElementSorter
public JavaElementSorter()Deprecated.Constructor.
-
-
Method Details
-
isSorterProperty
Deprecated.Bug 22518. Method never used: does not override ViewerSorter#isSorterProperty(Object, String). Method could be removed, but kept for API compatibility.- Parameters:
element
- the elementproperty
- the property- Returns:
- always
true
-
category
Deprecated.- Overrides:
category
in classorg.eclipse.jface.viewers.ViewerComparator
-
compare
Deprecated.- Overrides:
compare
in classorg.eclipse.jface.viewers.ViewerComparator
-
getCollator
Deprecated.The method is not intended to be used by clients.OverridesViewerSorter.getCollator()
.- Overrides:
getCollator
in classorg.eclipse.jface.viewers.ViewerSorter
-
JavaElementComparator
instead.