|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jface.viewers.ViewerComparator
org.eclipse.jface.viewers.ViewerSorter
org.eclipse.ui.model.WorkbenchViewerSorter
WorkbenchViewerComparator instead
public class WorkbenchViewerSorter
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
IWorkbenchAdapter| Field Summary |
|---|
| Fields inherited from class org.eclipse.jface.viewers.ViewerSorter |
|---|
collator |
| Constructor Summary | |
|---|---|
WorkbenchViewerSorter()
Deprecated. Creates a workbench viewer sorter using the default collator. |
|
WorkbenchViewerSorter(java.text.Collator collator)
Deprecated. Creates a workbench viewer sorter using the given collator. |
|
| Method Summary | |
|---|---|
boolean |
isSorterProperty(java.lang.Object element,
java.lang.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 |
|---|
getCollator |
| Methods inherited from class org.eclipse.jface.viewers.ViewerComparator |
|---|
category, compare, getComparator, sort |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WorkbenchViewerSorter()
public WorkbenchViewerSorter(java.text.Collator collator)
collator - the collator to use to sort strings| Method Detail |
|---|
public boolean isSorterProperty(java.lang.Object element,
java.lang.String propertyId)
ViewerComparator
The default implementation of this method returns false.
Subclasses may reimplement.
isSorterProperty in class ViewerComparatorelement - the elementpropertyId - the property
true if the sorting would be affected,
and false if it would be unaffected
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.