List of usage examples for org.eclipse.jface.viewers ViewerSorter isSorterProperty
public boolean isSorterProperty(Object element, String property)
From source file:net.refractions.udig.issues.internal.view.IssuesSorter.java
License:Open Source License
public boolean isSorterProperty(ViewerSorter defaultSorter, Object element, String property) { return defaultSorter.isSorterProperty(element, property); }
From source file:org.dslforge.workspace.ui.BasicWorkspaceSorter.java
License:Open Source License
public boolean isSorterProperty(TreePath parentPath, Object element, String property) { INavigatorContentDescriptor contentDesc = getSource(element); if (parentPath.getSegmentCount() == 0) return false; ViewerSorter sorter = sorterService.findSorter(contentDesc, parentPath.getLastSegment(), element, null); if (sorter != null) return sorter.isSorterProperty(element, property); return false; }