org.topcased.modeler.editor.outline.sorters
Class AlphabeticalSorter
java.lang.Object
org.eclipse.jface.viewers.ViewerComparator
org.eclipse.jface.viewers.ViewerSorter
org.topcased.modeler.editor.outline.sorters.AlphabeticalSorter
public class AlphabeticalSorter
- extends org.eclipse.jface.viewers.ViewerSorter
A sorter that simply sort outline elements in an alphabetical order but the
'Additionnal resources' and the 'Diagram' elements are always at the end.
Creation : 8 d�c. 2005
Fields inherited from class org.eclipse.jface.viewers.ViewerSorter |
collator |
Method Summary |
int |
category(java.lang.Object element)
|
Methods inherited from class org.eclipse.jface.viewers.ViewerSorter |
getCollator |
Methods inherited from class org.eclipse.jface.viewers.ViewerComparator |
compare, getComparator, isSorterProperty, sort |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AlphabeticalSorter
public AlphabeticalSorter()
category
public int category(java.lang.Object element)
- Overrides:
category
in class org.eclipse.jface.viewers.ViewerComparator
- See Also:
ViewerComparator.category(java.lang.Object)
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.