Package org.eclipse.ui.model
Class WorkbenchViewerSorter
java.lang.Object
org.eclipse.jface.viewers.ViewerComparator
org.eclipse.jface.viewers.ViewerSorter
org.eclipse.ui.model.WorkbenchViewerSorter
Deprecated.
A viewer sorter that sorts elements with registered workbench adapters by
their text property. Note that capitalization differences are not considered
by this sorter, so a > B > c
- See Also:
-
Field Summary
Fields inherited from class org.eclipse.jface.viewers.ViewerSorter
collator -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a workbench viewer sorter using the default collator.WorkbenchViewerSorter(Collator collator) Deprecated.Creates a workbench viewer sorter using the given collator. -
Method Summary
Modifier and TypeMethodDescriptionbooleanisSorterProperty(Object element, String propertyId) Deprecated.Returns whether this viewer sorter would be affected by a change to the given property of the given element.Methods inherited from class org.eclipse.jface.viewers.ViewerSorter
getCollatorMethods inherited from class org.eclipse.jface.viewers.ViewerComparator
category, compare, getComparator, sort
-
Constructor Details
-
WorkbenchViewerSorter
public WorkbenchViewerSorter()Deprecated.Creates a workbench viewer sorter using the default collator. -
WorkbenchViewerSorter
Deprecated.Creates a workbench viewer sorter using the given collator.- Parameters:
collator- the collator to use to sort strings
-
-
Method Details
-
isSorterProperty
Deprecated.Description copied from class:ViewerComparatorReturns whether this viewer sorter would be affected by a change to the given property of the given element.The default implementation of this method returns
false. Subclasses may reimplement.- Overrides:
isSorterPropertyin classViewerComparator- Parameters:
element- the elementpropertyId- the property- Returns:
trueif the sorting would be affected, andfalseif it would be unaffected
-
WorkbenchViewerComparatorinstead