WorkbenchViewerComparator instead@Deprecated public class WorkbenchViewerSorter extends ViewerSorter
IWorkbenchAdaptercollator| Constructor and Description |
|---|
WorkbenchViewerSorter()
Deprecated.
Creates a workbench viewer sorter using the default collator.
|
WorkbenchViewerSorter(Collator collator)
Deprecated.
Creates a workbench viewer sorter using the given collator.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSorterProperty(Object element,
String propertyId)
Deprecated.
Returns whether this viewer sorter would be affected
by a change to the given property of the given element.
|
getCollatorcategory, compare, getComparator, sortpublic WorkbenchViewerSorter()
public WorkbenchViewerSorter(Collator collator)
collator - the collator to use to sort stringspublic boolean isSorterProperty(Object element, String propertyId)
ViewerComparator
The default implementation of this method returns false.
Subclasses may reimplement.
isSorterProperty in class ViewerComparatorelement - the elementpropertyId - the propertytrue if the sorting would be affected,
and false if it would be unaffected
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.