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.
|
getComparator
isSorterProperty, sort
public boolean isSorterProperty(Object element, Object property)
element
- the elementproperty
- the propertytrue
public int category(Object element)
category
in class ViewerComparator
public int compare(Viewer viewer, Object e1, Object e2)
compare
in class ViewerComparator
public final Collator getCollator()
getCollator
in class ViewerSorter
Copyright (c) IBM Corp. and others 2000, 2006. All Rights Reserved.