Package org.eclipse.ui.navigator
Class LinkHelperService
java.lang.Object
org.eclipse.ui.navigator.LinkHelperService
Manages the link helpers which are used to define the behavior of
the link with editor function.
- Since:
- 3.4
- Restriction:
- This class is not intended to be instantiated by clients.
-
Method Summary
Modifier and TypeMethodDescriptiongetLinkHelpersFor(Object anObject) getLinkHelpersFor(IEditorInput input) getSelectionFor(IEditorInput input) Return a selection that contains the elements that the given editor input represent.
-
Method Details
-
getLinkHelpersFor
- Parameters:
anObject- An object from the viewer- Returns:
- An array of link helpers that know about elements in the selection or null
-
getLinkHelpersFor
- Parameters:
input- The Editor input from the active viewer.- Returns:
- An array of link helpers that know about elements in the selection or null
-
getSelectionFor
Return a selection that contains the elements that the given editor input represent.- Parameters:
input- the editor input- Returns:
- a selection that contains the elements that the given editor input represent
-