List of usage examples for org.eclipse.jface.viewers ViewerComparator subclass-usage
From source file org.eclipse.pde.internal.ui.wizards.WizardCollectionComparator.java
public class WizardCollectionComparator extends ViewerComparator { private String baseCategory; public WizardCollectionComparator(String baseCategory) { this.baseCategory = baseCategory; }
From source file org.eclipse.php.internal.ui.actions.newprojectwizard.NewWizardCollectionComparator.java
/**
* A Viewer element sorter that sorts Elements by their name attribute. Note
* that capitalization differences are not considered by this sorter, so a < B <
* c.
*
* NOTE one exception to the above: an element with the system's reserved name
From source file org.eclipse.ptp.remote.ui.dialogs.RemoteResourceComparator.java
public class RemoteResourceComparator extends ViewerComparator { private boolean ascending = true; public RemoteResourceComparator() { super();
From source file org.eclipse.rcptt.ui.commons.ColumnViewerSorter.java
public abstract class ColumnViewerSorter extends ViewerComparator { public static final int ASC = 1; public static final int NONE = 0; public static final int DESC = -1;
From source file org.eclipse.recommenders.rcp.utils.TableSortConfigurator.java
class TableComparator extends ViewerComparator { private final ImmutableMap<TableColumn, Comparator<Object>> comparators; private final TableViewer tableViewer; private final IAction refreshUiAction;
From source file org.eclipse.remote.internal.ui.RemoteResourceComparator.java
public class RemoteResourceComparator extends ViewerComparator { private boolean ascending = true; public RemoteResourceComparator() { super();
From source file org.eclipse.riena.internal.ui.ridgets.swt.TableComparator.java
/** * This comparator uses the values of the column the table is sorted by. */ public final class TableComparator extends ViewerComparator { public TableComparator(final SortableComparator comparator) {
From source file org.eclipse.scada.ae.ui.testing.views.EntryTimestampViewerComparator.java
final class EntryTimestampViewerComparator extends ViewerComparator { @Override public int compare(final Viewer viewer, final Object e1, final Object e2) { if (!(e1 instanceof Event) || !(e2 instanceof Event)) { return -super.compare(viewer, e1, e2); }
From source file org.eclipse.scada.ae.ui.testing.views.SourceTimestampViewerComparator.java
final class SourceTimestampViewerComparator extends ViewerComparator { @Override public int compare(final Viewer viewer, final Object e1, final Object e2) { if (!(e1 instanceof Event) || !(e2 instanceof Event)) { return -super.compare(viewer, e1, e2); }
From source file org.eclipse.scada.core.ui.connection.information.InformationBeanComparator.java
public class InformationBeanComparator extends ViewerComparator { @Override public int compare(final Viewer viewer, final Object e1, final Object e2) { if (e1 instanceof InformationBean && e2 instanceof InformationBean) { return ((InformationBean) e1).compareTo((InformationBean) e2); }