public class JavaElementSorter extends ViewerSorter
This class may be instantiated; it is not intended to be subclassed.
collator| Constructor and Description |
|---|
JavaElementSorter()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
category(Object element) |
int |
compare(Viewer viewer,
Object e1,
Object e2) |
Collator |
getCollator() |
boolean |
isSorterProperty(Object element,
Object property)
Deprecated.
Bug 22518. Method never used: does not override ViewerSorter#isSorterProperty(Object, String).
Method could be removed, but kept for API compatibility.
|
getComparatorisSorterProperty, sortpublic boolean isSorterProperty(Object element, Object property)
element - the elementproperty - the propertytruepublic int category(Object element)
category in class ViewerComparatorpublic int compare(Viewer viewer, Object e1, Object e2)
compare in class ViewerComparatorpublic final Collator getCollator()
getCollator in class ViewerSorterCopyright (c) IBM Corp. and others 2000, 2006. All Rights Reserved.