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 org.eclipse.internal.cbmc.view.LoopsViewerComparator.java

public class LoopsViewerComparator extends ViewerComparator {
    private int propertyIndex;
    private static final int DESCENDING = 1;
    private int direction = DESCENDING;

    public LoopsViewerComparator() {

From source file org.eclipse.jdt.internal.debug.ui.jres.JREsEnvironmentComparator.java

/**
 * Sorts execution environments.
 * 
 * @since 3.3
 */
public class JREsEnvironmentComparator extends ViewerComparator {

From source file org.eclipse.jdt.internal.ui.typehierarchy.AbstractHierarchyViewerSorter.java

/**
  */
public abstract class AbstractHierarchyViewerSorter extends ViewerComparator {

    private static final int OTHER = 1;
    private static final int CLASS = 2;

From source file org.eclipse.jdt.internal.ui.viewsupport.SourcePositionComparator.java

/**
 *  Viewer sorter which sorts the Java elements like
 *  they appear in the source.
 *
 * @since 3.2
 */

From source file org.eclipse.jdt.internal.ui.wizards.buildpaths.CPListElementSorter.java

public class CPListElementSorter extends ViewerComparator {

    private static final int SOURCE = 0;
    private static final int PROJECT = 1;
    private static final int LIBRARY = 2;
    private static final int VARIABLE = 3;

From source file org.eclipse.jdt.ui.JavaElementComparator.java

/**
 * Viewer comparator for Java elements. Ordered by element category, then by element name.
 * Package fragment roots are sorted as ordered on the classpath.
 *
 * <p>
 * This class may be instantiated; it is not intended to be subclassed.

From source file org.eclipse.jface.tests.viewers.interactive.Sorter.java

public class Sorter extends ViewerComparator {

    @Override
    public boolean isSorterProperty(Object element, String property) {
        return IBasicPropertyConstants.P_TEXT.equals(property);
    }

From source file org.eclipse.jubula.client.ui.rcp.sorter.ComponentNameNameViewerSorter.java

/**
 * @author BREDEX GmbH
 * @created 17.02.2009
 */
public class ComponentNameNameViewerSorter extends ViewerComparator {
    /**

From source file org.eclipse.jubula.client.ui.rcp.sorter.ComponentNameTypeViewerSorter.java

/**
 * @author BREDEX GmbH
 * @created 17.02.2009
 */
public class ComponentNameTypeViewerSorter extends ViewerComparator {
    /**

From source file org.eclipse.jubula.client.ui.views.ColumnViewerSorter.java

/**
 * Helper class for sorting on TableViewerColumns. Taken from 
 * Snippet040TableViewerSorting and modified to pass Checkstyle.
 * 
 * @author Tom Schindl <tom.schindl@bestsolution.at>
 * @author BREDEX GmbH