Example usage for org.eclipse.jface.viewers ViewerComparator subclass-usage

List of usage examples for org.eclipse.jface.viewers ViewerComparator subclass-usage

Introduction

In this page you can find the example usage for org.eclipse.jface.viewers ViewerComparator subclass-usage.

Usage

From source file com.centurylink.mdw.plugin.designer.properties.value.DefaultViewerComparator.java

public class DefaultViewerComparator extends ViewerComparator {
    private String property;
    private SortDirectionProvider sortDirectionProvider;
    private PropertyUtilsBean propUtilsBean = new PropertyUtilsBean();

    public DefaultViewerComparator(ColumnSpec colSpec, SortDirectionProvider sortDirectionProvider) {

From source file com.google.dart.tools.ui.DartElementComparator.java

/**
 * Viewer comparator for Dart elements.
 * <p>
 * TODO Add functions, factories.
 * <p>
 * This class may be instantiated; it is not intended to be subclassed.

From source file com.google.dart.tools.ui.internal.appsview.AppsViewComparator.java

public class AppsViewComparator extends ViewerComparator {

    public AppsViewComparator() {
        super(new Comparator<String>() {
            @Override
            public int compare(String arg0, String arg1) {

From source file com.google.dart.tools.ui.internal.filesview.FilesViewerComparator.java

/**
 * Sorts files alphabetically.
 */
public class FilesViewerComparator extends ViewerComparator {
    private static final int SPECIAL_RESOURCE_SORT = 0;
    private static final int DIRECTORY_SORT = 1;

From source file com.google.dart.tools.ui.internal.viewsupport.NameElementComparator.java

/**
 * {@link ViewerComparator} which sorts the {@link Element}s by their names.
 */
public class NameElementComparator extends ViewerComparator {
    public static final ViewerComparator INSTANCE = new NameElementComparator();

From source file com.google.dart.tools.ui.internal.viewsupport.SourcePositionComparator.java

/**
 * Viewer sorter which sorts the Dart elements like they appear in the source.
 */
public class SourcePositionComparator extends ViewerComparator {

    /*

From source file com.google.dart.tools.ui.internal.viewsupport.SourcePositionComparator_OLD.java

/**
 * Viewer sorter which sorts the Dart elements like they appear in the source.
 */
public class SourcePositionComparator_OLD extends ViewerComparator {

    /*

From source file com.google.dart.tools.ui.internal.viewsupport.SourcePositionElementComparator.java

/**
 * {@link ViewerComparator} which sorts the {@link Element}s like they appear in the source.
 */
public class SourcePositionElementComparator extends ViewerComparator {
    public static final ViewerComparator INSTANCE = new SourcePositionElementComparator();

From source file com.google.devtools.depan.eclipse.ui.nodes.viewers.NodeSorter.java

/**
 * @author ycoppel@google.com (Yohann Coppel)
 *
 */
public class NodeSorter extends ViewerComparator {

From source file com.google.devtools.depan.platform.AlphabeticSorter.java

/**
 * Sort the viewer data in a alphabetic order (using
 * {@link String#compareTo(String)}. Strings to compare are retrieved via a
 * {@link ViewerObjectToString}, or with the {@link Object#toString()} method
 * if the object is constructed with {@link AlphabeticSorter#AlphabeticSorter()}
 * or {@link AlphabeticSorter#AlphabeticSorter(boolean)}.