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.sintef.thingml.resource.thingml.ui.ThingmlOutlinePageTreeViewerComparator.java

public class ThingmlOutlinePageTreeViewerComparator extends org.eclipse.jface.viewers.ViewerComparator {

    private static java.util.Map<org.eclipse.emf.ecore.EPackage, Integer> ePackageMap = new java.util.LinkedHashMap<org.eclipse.emf.ecore.EPackage, Integer>();
    private static int nextPackageID;

    private java.util.Comparator<Object> comparator = new java.util.Comparator<Object>() {

From source file org.spotter.eclipse.ui.navigator.FixedOrderViewerComparator.java

/**
 * An implementation of a viewer comparator that sorts the elements in a
 * predetermined order. Elements not included in this predefinition are sorted
 * using the default comparator, thus are sorted in lexicographical order.
 * 
 * @author Denis Knoepfle

From source file org.summer.sdt.internal.debug.ui.jres.JREsEnvironmentComparator.java

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

From source file org.summer.sdt.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.summer.sdt.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.summer.sdt.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.summer.sdt.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.talend.designer.cmis.ui.metadata.PropertyDefinitionComparator.java

public class PropertyDefinitionComparator extends ViewerComparator {

    public final static int ID = 0;
    public final static int NAME = 1;
    public final static int TYPE = 2;
    public final static int MANDATORY = 3;

From source file org.talend.designer.runtime.visualization.internal.ui.properties.cpu.HotSpotsComparator.java

/**
 * The hot spots comparator.
 */
public class HotSpotsComparator extends ViewerComparator {

    /** The column type. */

From source file org.talend.designer.runtime.visualization.internal.ui.properties.MBean.NotificationComparator.java

/**
 * The notification comparator.
 */
public class NotificationComparator extends ViewerComparator {

    /** the sort direction */