org.eclipse.jdt.ui
Class JavaElementSorter
java.lang.Object
|
+--org.eclipse.jface.viewers.ViewerSorter
|
+--org.eclipse.jdt.ui.JavaElementSorter
- public class JavaElementSorter
- extends ViewerSorter
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaElementSorter
public JavaElementSorter()
isSorterProperty
public boolean isSorterProperty(Object element,
Object property)
category
public int category(Object element)
- Overrides:
category
in class ViewerSorter
compare
public int compare(Viewer viewer,
Object e1,
Object e2)
- Overrides:
compare
in class ViewerSorter
Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.