org.eclipse.ui.model
WorkbenchViewerComparator insteadpublic 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 unaffectedGuidelines for using Eclipse APIs. Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.