| org.eclipse.ui.internal.cheatsheets.registry.CheatSheetCollectionSorter
CheatSheetCollectionSorter | public class CheatSheetCollectionSorter extends ViewerComparator (Code) | | A Viewer element sorter that sorts Elements by their name attribute.
Note that capitalization differences are not considered by this
sorter, so a < B < c.
|
Method Summary | |
public int | compare(Viewer viewer, Object o1, Object o2) The 'compare' method of the sort operation. | public boolean | isSorterProperty(Object object, String propertyId) Return true if this sorter is affected by a property
change of propertyName on the specified element. |
compare | public int compare(Viewer viewer, Object o1, Object o2)(Code) | | The 'compare' method of the sort operation.
the value 0 if the argument o1 is equal to o2;a value less than 0 if o1 is less than o2;and a value greater than 0 if o1 is greater than o2. |
isSorterProperty | public boolean isSorterProperty(Object object, String propertyId)(Code) | | Return true if this sorter is affected by a property
change of propertyName on the specified element.
|
|
|