|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectViewerSorter
org.eclipse.wst.jsdt.ui.JavaElementSorter
public class JavaElementSorter
Sorter for JavaScript 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.
Provisional API: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
Constructor Summary | |
---|---|
JavaElementSorter()
Constructor. |
Method Summary | |
---|---|
int |
category(java.lang.Object element)
|
int |
compare(Viewer viewer,
java.lang.Object e1,
java.lang.Object e2)
|
java.text.Collator |
getCollator()
Deprecated. The method is not intended to be used by clients. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JavaElementSorter()
Method Detail |
---|
public int category(java.lang.Object element)
public int compare(Viewer viewer, java.lang.Object e1, java.lang.Object e2)
public final java.text.Collator getCollator()
org.eclipse.jface.viewers.ViewerSorter#getCollator()
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |