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 de.walware.ecommons.ui.util.ComparatorViewerComparator.java

/**
 * Viewer Comparator using a common comparator to compare the elements.
 */
public class ComparatorViewerComparator extends ViewerComparator {

    private final Comparator fComparator;

From source file de.walware.statet.r.internal.objectbrowser.SortByTypeComparator.java

class SortByTypeComparator extends ViewerComparator implements Comparator<Object> {

    private final Collator classNameCollator = Collator.getInstance(Locale.ENGLISH);

    @Override
    public void sort(final Viewer viewer, final Object[] elements) {

From source file dk.itu.sdg.language.xwpf.resource.xwpf.ui.XwpfOutlinePageTreeViewerComparator.java

public class XwpfOutlinePageTreeViewerComparator 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 eu.celar.ui.comparators.TableColumnComparator.java

/**
 * This comparator is used to sort the table entries according to the selected
 * sorting column, with a second ordering column as fallback if entries compare
 * equal.
 */
public class TableColumnComparator extends ViewerComparator {

From source file eu.esdihumboldt.hale.ui.codelist.inspire.internal.CodeListComparator.java

/**
 * Comparator for {@link CodeListRef}s.
 * 
 * @author Simon Templer
 */
public class CodeListComparator extends ViewerComparator {

From source file eu.esdihumboldt.hale.ui.common.definition.viewer.DefinitionComparator.java

/**
 * Comparator for {@link Definition}s. Groups group properties and normal
 * properties.
 * 
 * @author Simon Templer
 */

From source file eu.esdihumboldt.hale.ui.functions.groovy.internal.HelperFunctionComparator.java

/**
 * comparator for helper function
 * 
 * @author Sameer Sheikh
 */
public class HelperFunctionComparator extends ViewerComparator {

From source file eu.esdihumboldt.hale.ui.schema.presets.internal.SchemaPresetComparator.java

/**
 * Comparator for {@link SchemaPreset}s.
 * 
 * @author Simon Templer
 */
public class SchemaPresetComparator extends ViewerComparator {

From source file eu.esdihumboldt.hale.ui.views.tasks.TaskTreeComparator.java

/**
 * Default task comparator
 *
 * @author Simon Templer
 * @partner 01 / Fraunhofer Institute for Computer Graphics Research
 */

From source file eu.geclipse.ui.comparators.TableColumnComparator.java

/**
 * This comparator is used to sort the table entries according to the selected
 * sorting column, with a second ordering column as fallback if entries compare
 * equal.
 */
public class TableColumnComparator extends ViewerComparator {