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.csstudio.pch.eventlist.gui.MessageIDComparator.java

/** ViewerComparator for sorting Messages by ID.
 *  @author Kay Kasemir
 */
public class MessageIDComparator extends ViewerComparator {
    final private boolean up;

From source file org.csstudio.pch.eventlist.gui.MessagePropertyComparator.java

/** ViewerComparator (= table sorter) that compares a single property.
 *  @author Kay Kasemir
 */
public class MessagePropertyComparator extends ViewerComparator {
    final private String property;
    final private boolean up;

From source file org.csstudio.pch.eventlist.gui.MessageSeqComparator.java

/** ViewerComparator for sorting Messages by sequence number.
 *  @author Kay Kasemir
 */
public class MessageSeqComparator extends ViewerComparator {
    final private boolean up;

From source file org.csstudio.scan.ui.scanmonitor.ScanInfoComparator.java

/** Comparator for sorting rows in scan monitor
 *  @author Kay Kasemir
 */
@SuppressWarnings("nls")
public class ScanInfoComparator extends ViewerComparator {
    private int direction = SWT.UP;

From source file org.dawnsci.plotting.tools.fitting.FittingViewerComparator.java

class FittingViewerComparator extends ViewerComparator {

    private int propertyIndex;
    private static final int DESCENDING = 1;
    private int direction = DESCENDING;
    private SortNatural<String> comparator;

From source file org.dawnsci.plotting.tools.fitting.PeakColumnComparitor.java

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

    public PeakColumnComparitor() {

From source file org.dslforge.workspace.ui.BasicViewerComparator.java

@SuppressWarnings("serial")
public class BasicViewerComparator extends ViewerComparator {

    @Override
    public int category(Object element) {
        if (element instanceof File) {

From source file org.eclipse.ant.internal.ui.ColumnSorter.java

/**
 * A sorter that can be attached to a given column in a given viewer. This comparator uses the {@link AntObjectLabelProvider} to get the text to
 * compare
 * 
 * @since 3.5
 */

From source file org.eclipse.cdt.debug.internal.ui.views.executables.ExecutablesViewerComparator.java

class ExecutablesViewerComparator extends ViewerComparator {

    private int sortType;
    private int columnOrder;

    public ExecutablesViewerComparator(int sortType, int columnOrder) {

From source file org.eclipse.debug.internal.ui.views.breakpoints.BreakpointsComparator.java

/**
 * @since 3.3
 */
public class BreakpointsComparator extends ViewerComparator {
    /* (non-Javadoc)
     * @see org.eclipse.jface.viewers.ViewerComparator#isSorterProperty(java.lang.Object, java.lang.String)