List of usage examples for org.eclipse.jface.viewers ViewerComparator subclass-usage
From source file org.eclipse.ui.internal.ide.dialogs.ResourceComparator.java
/**
* Sorter for viewers that display items of type <code>IResource</code>.
* The sorter supports two sort criteria:
* <p>
* <code>NAME</code>: Folders are given order precedence, followed by files.
* Within these two groups resources are ordered by name. All name comparisons
From source file org.eclipse.ui.internal.statushandlers.LabelProviderWrapper.java
/**
* This is an utility class which is responsible for text and icon decorators in
* the StatusDialog.
*
* @since 3.6
*/
From source file org.eclipse.ui.model.ContributionComparator.java
/**
* A ContributionComparator is capable of ordering
* {@link IComparableContribution} instances, either as a
* {@link ViewerComparator} (for {@link StructuredViewer}s) or as a traditional
* {@link Comparator}.
*
From source file org.eclipse.ui.model.WorkbenchViewerComparator.java
/**
*
* A viewer comparator 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
*
From source file org.eclipse.ui.trace.internal.TracingComponentComparator.java
/** * A Comparator for ordering the list of traceable bundles visible in a viewer in alphabetical order */ public class TracingComponentComparator extends ViewerComparator { /**
From source file org.eclipse.ui.views.bookmarkexplorer.BookmarkSorter.java
class BookmarkSorter extends ViewerComparator { private int[] directions; private int[] priorities;
From source file org.eclipse.ui.views.markers.internal.CategoryComparator.java
/** * CategorySorter is the sorter that takes categories and the viewer into * account. * */ public class CategoryComparator extends ViewerComparator implements Comparator {
From source file org.eclipse.ui.views.markers.internal.TableComparator.java
public class TableComparator extends ViewerComparator implements Comparator { public static final int MAX_DEPTH = 4; public static final int ASCENDING = 1;
From source file org.eclipse.ui.views.navigator.ResourceComparator.java
/**
* Comparator for viewers that display items of type <code>IResource</code>.
* The sorter supports two sort criteria:
* <p>
* <code>NAME</code>: Folders are given order precedence, followed by files.
* Within these two groups resources are ordered by name. All name comparisons
From source file org.eclipse.ui.views.tasklist.TaskSorter.java
/** * This is the task list's sorter. */ class TaskSorter extends ViewerComparator { private int[] priorities;