Package org.eclipse.ui.navigator
Interface INavigatorSorterService
public interface INavigatorSorterService
Provides an interface to extensions declared in
org.eclipse.ui.navigator.navigatorContent/commonSorter.
Like other extensions to the Common Navigator framework, sorters defined by
the above extension point must be bound to the associated
INavigatorContentService
through a
org.eclipse.ui.navigator.viewer/viewerContentBinding extension.
- Since:
- 3.2
- See Also:
- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
-
Method Summary
Modifier and TypeMethodDescriptionfindAvailableSorters
(INavigatorContentDescriptor theSource) Find and return all viewer sorters associated with the given descriptor.findComparator
(INavigatorContentDescriptor source, Object parent, Object lvalue, Object rvalue) Return aViewerComparator
from an extension which is visible to the associatedINavigatorContentService
and whose parentExpression matches the given parent.findComparatorForParent
(Object aParent) Return aViewerComparator
from an extension which is visible to the associatedINavigatorContentService
and whose parentExpression matches the given parent.findSorter
(INavigatorContentDescriptor source, Object parent, Object lvalue, Object rvalue) Deprecated, for removal: This API element is subject to removal in a future version.findSorterForParent
(Object aParent) Deprecated, for removal: This API element is subject to removal in a future version.UsefindComparatorForParent(Object)
instead
-
Method Details
-
findSorterForParent
Deprecated, for removal: This API element is subject to removal in a future version.UsefindComparatorForParent(Object)
insteadReturn aViewerSorter
from an extension which is visible to the associatedINavigatorContentService
and whose parentExpression matches the given parent.- Parameters:
aParent
- An element from the tree- Returns:
- An applicable ViewerSorter or simple
ViewerSorter
if no sorter is found.
-
findComparatorForParent
Return aViewerComparator
from an extension which is visible to the associatedINavigatorContentService
and whose parentExpression matches the given parent.- Parameters:
aParent
- An element from the tree- Returns:
- An applicable ViewerComparator or simple
ViewerComparator
if no sorter is found. - Since:
- 3.13
-
findComparator(INavigatorContentDescriptor, Object, Object, Object)
instead.