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.findSorter
(INavigatorContentDescriptor source, Object parent, Object lvalue, Object rvalue) Return aViewerSorter
from an extension which is visible to the associatedINavigatorContentService
and whose parentExpression matches the given parent.findSorterForParent
(Object aParent) Return aViewerSorter
from an extension which is visible to the associatedINavigatorContentService
and whose parentExpression matches the given parent.
-
Method Details
-
findSorterForParent
Return 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.
-