JavaElementComparator
instead.public class JavaElementSorter extends ViewerSorter
This class may be instantiated; it is not intended to be subclassed.
collator
Constructor and Description |
---|
JavaElementSorter()
Deprecated.
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
category(Object element)
Deprecated.
|
int |
compare(Viewer viewer,
Object e1,
Object e2)
Deprecated.
|
Collator |
getCollator()
Deprecated.
The method is not intended to be used by clients.
|
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()
ViewerSorter.getCollator()
.getCollator
in class ViewerSorter
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.