org.eclipse.jdt.ui
Class JavaElementComparator
java.lang.Object
org.eclipse.jface.viewers.ViewerComparator
org.eclipse.jdt.ui.JavaElementComparator
-
public class JavaElementComparator
- extends
ViewerComparator
Viewer comparator 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:
- 3.3
-
Restriction:
- This class is not intended to be subclassed by clients.
Methods inherited from class java.lang.
Object
|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
|
JavaElementComparator
public JavaElementComparator()
- Constructor.
category
public int category(
Object element)
-
-
Overrides:
-
category
in class
ViewerComparator
-
compare
public int compare(
Viewer viewer,
Object e1,
Object e2)
-
-
Overrides:
-
compare
in class
ViewerComparator
-
Copyright (c) IBM Corp. and others 2000, 2008. All Rights Reserved.