List of usage examples for org.eclipse.jface.viewers ViewerComparator subclass-usage
From source file scouter.client.sorter.TreeLabelSorter.java
public class TreeLabelSorter extends ViewerComparator { public static final int ORDER_ASC = 1; public static final int NONE = 0; public static final int ORDER_DESC = -1; private TreeColumn col = null;
From source file sernet.verinice.rcp.search.tables.SearchTableComparator.java
/** * @author Benjamin Weienfels <bw[at]sernet[dot]de> */ public class SearchTableComparator extends ViewerComparator { IColumn currentColumn;
From source file SEURAT.search.SearchResultPage_IconTableSorter.java
/**
* Implementation of ViewerComparator and SelectionListener interfaces
* allowing a TableViewer to sort a table column on the icons
* displayed in that column.
*
* @author hannasm
From source file SEURAT.search.SearchResultPage_NumericTableSorter.java
/**
* Implementation of ViewerComparator and SelectionListener interfaces
* allowing a TableViewer to sort a table column on the numeric representation
* of the elements in that column. All non-numeric element representations
* will be treated as equal.
*
From source file SEURAT.search.SearchResultPage_StringTableSorter.java
/**
* Implementation of ViewerComparator and SelectionListener interfaces
* allowing a TableViewer to sort a table column on the strings
* displayed in that column.
*
* @author hannasm
From source file tinyos.dlrc.search.model.group.GroupComparator.java
public class GroupComparator extends ViewerComparator { private DelegateBinder binder; private ViewerComparator delegate; public GroupComparator(DelegateBinder binder, ViewerComparator delegate) { this.binder = binder;
From source file tinyos.dlrc.views.ComparableComparator.java
public class ComparableComparator<T extends Comparable<T>> extends ViewerComparator implements Comparator<T> { public int compare(T o1, T o2) { return o1.compareTo(o2); } @SuppressWarnings("unchecked")
From source file tinyos.dlrc.views.NodeLabelComparator.java
/** * A comparator that can compare the elements of a {@link NodeContentProvider}, * this comparator uses the label of the nodes for comparison. * @author Benjamin Sigg */ public class NodeLabelComparator extends ViewerComparator implements Comparator<NodeContentProvider.Element> {
From source file tinyos.dlrc.views.NodeLocationComparator.java
public class NodeLocationComparator extends ViewerComparator implements Comparator<NodeContentProvider.Element> { private Comparator<TagSet> tagComparator = TinyOSPlugin.getDefault().getParserFactory().createComparator(); private Collator stringComparator = Collator.getInstance(); private String[] properties;
From source file tinyos.yeti.search.model.group.GroupComparator.java
public class GroupComparator extends ViewerComparator { private DelegateBinder binder; private ViewerComparator delegate; public GroupComparator(DelegateBinder binder, ViewerComparator delegate) { this.binder = binder;