|
Eclipse Platform Release 3.2 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
This interface is not intended to be implemented by clients.
INavigatorContentService.getSorterService()
,
ViewerSorter
Method Summary | |
---|---|
ViewerSorter |
findSorter(INavigatorContentDescriptor source,
Object parent,
Object lvalue,
Object rvalue)
Return a ViewerSorter from an extension which is visible to the
associated INavigatorContentService and whose parentExpression
matches the given parent. |
ViewerSorter |
findSorterForParent(Object aParent)
Return a ViewerSorter from an extension which is visible to the
associated INavigatorContentService and whose parentExpression
matches the given parent. |
Method Detail |
public ViewerSorter findSorterForParent(Object aParent)
ViewerSorter
from an extension which is visible to the
associated INavigatorContentService
and whose parentExpression
matches the given parent.
aParent
- An element from the tree
ViewerSorter
if no sorter is found.public ViewerSorter findSorter(INavigatorContentDescriptor source, Object parent, Object lvalue, Object rvalue)
ViewerSorter
from an extension which is visible to the
associated INavigatorContentService
and whose parentExpression
matches the given parent.
source
- The source of the element.parent
- An element from the treelvalue
- An element from the treervalue
- An element from the tree
ViewerSorter
if no sorter is found.
|
Eclipse Platform Release 3.2 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.