Eclipse Platform Release 3.7

## Uses of Class
org.eclipse.jface.viewers.ViewerComparator

Packages that use ViewerComparator
org.eclipse.jface.viewers: Provides a framework for viewers, which are model-based content adapters for SWT widgets.
org.eclipse.ui.dialogs: Classes for standard dialogs, wizards, and preference pages in the Eclipse Platform User Interface.
org.eclipse.ui.model: Provides a workbench adapter for displaying workbench elements in the UI without having to know the concrete type of the element, and various label providers for workbench-specific objects like editors, views, and perspectives.
org.eclipse.ui.navigator: Provides the Common Navigator framework.
org.eclipse.ui.views.navigator: Provides the standard Resource Navigator view which presents the tree of resources in the workspace.

Uses of ViewerComparator in org.eclipse.jface.viewers

Subclasses of ViewerComparator in org.eclipse.jface.viewers
`class` `TreePathViewerSorter` A viewer sorter that is provided extra context in the form of the path of the parent element of the elements being sorted.
`class` `ViewerSorter` A viewer sorter is used by a `StructuredViewer` to reorder the elements provided by its content provider.

Methods in org.eclipse.jface.viewers that return ViewerComparator
`ViewerComparator` `StructuredViewer.getComparator()` Return this viewer's comparator used to sort elements.

Methods in org.eclipse.jface.viewers with parameters of type ViewerComparator
`void` `StructuredViewer.setComparator(ViewerComparator comparator)` Sets this viewer's comparator to be used for sorting elements, and triggers refiltering and resorting of this viewer's element.

Uses of ViewerComparator in org.eclipse.ui.dialogs

Methods in org.eclipse.ui.dialogs with parameters of type ViewerComparator
`void` `ElementTreeSelectionDialog.setComparator(ViewerComparator comparator)` Sets the comparator used by the tree viewer.
`void` `CheckedTreeSelectionDialog.setComparator(ViewerComparator comparator)` Sets the comparator used by the tree viewer.

Uses of ViewerComparator in org.eclipse.ui.model

Subclasses of ViewerComparator in org.eclipse.ui.model
`class` `ContributionComparator` A ContributionComparator is capable of ordering `IComparableContribution` instances, either as a `ViewerComparator` (for `StructuredViewer`s) or as a traditional `Comparator`.
`class` `WorkbenchViewerComparator` A viewer comparator that sorts elements with registered workbench adapters by their text property.
`class` `WorkbenchViewerSorter` Deprecated. as of 3.3, use `WorkbenchViewerComparator` instead

Uses of ViewerComparator in org.eclipse.ui.navigator

Subclasses of ViewerComparator in org.eclipse.ui.navigator
`class` `CommonViewerSorter` Provides an implementation of TreeViewerSorter that uses the given parent to determine the correct sort order based on the defined org.eclipse.ui.navigator.navigatorContent/navigatorContent/commonSorter elements available in the set of visible content extensions.

Uses of ViewerComparator in org.eclipse.ui.views.navigator

Subclasses of ViewerComparator in org.eclipse.ui.views.navigator
`class` `ResourceComparator` Comparator for viewers that display items of type `IResource`.
`class` `ResourceSorter` Deprecated. as of 3.3, use `ResourceComparator` instead

Eclipse Platform Release 3.7

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.