public abstract class LinkHelper
extends java.lang.Object
implements org.eclipse.ui.navigator.ILinkHelper
ILinkHelper
.Constructor and Description |
---|
LinkHelper() |
Modifier and Type | Method and Description |
---|---|
void |
activateEditor(org.eclipse.ui.IWorkbenchPage page,
org.eclipse.jface.viewers.IStructuredSelection selection) |
org.eclipse.jface.viewers.IStructuredSelection |
findSelection(org.eclipse.ui.IEditorInput editorInput) |
protected EditorUtility |
getEditorUtility() |
protected abstract IInputElementProvider |
getInputElementProvider() |
protected abstract org.eclipse.ui.IViewPart |
getNavigatorView()
Returns the navigator view this link helper is for.
|
public org.eclipse.jface.viewers.IStructuredSelection findSelection(org.eclipse.ui.IEditorInput editorInput)
findSelection
in interface org.eclipse.ui.navigator.ILinkHelper
public void activateEditor(org.eclipse.ui.IWorkbenchPage page, org.eclipse.jface.viewers.IStructuredSelection selection)
activateEditor
in interface org.eclipse.ui.navigator.ILinkHelper
protected abstract IInputElementProvider getInputElementProvider()
protected abstract org.eclipse.ui.IViewPart getNavigatorView()
findSelection(IEditorInput)
method
to preserve the current selection in the navigator if possible.null
protected EditorUtility getEditorUtility()