public class EditorOutlinePopupHost extends java.lang.Object implements IOutlinePopupHost
Constructor and Description |
---|
EditorOutlinePopupHost(org.eclipse.ui.IEditorPart editor)
Creates an outline popup host based on the given editor.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.swt.widgets.Control |
getControl()
Returns the SWT control for this host,
or
null if the control is disposed. |
org.eclipse.ui.IEditorPart |
getEditor()
Returns the editor underlying this host.
|
org.eclipse.ui.IEditorInput |
getEditorInput()
Returns the editor input for this host, or
null if none. |
org.eclipse.jface.viewers.ISelectionProvider |
getSelectionProvider()
Returns this host's selection provider.
|
public EditorOutlinePopupHost(org.eclipse.ui.IEditorPart editor)
editor
- the editor (not null
)public org.eclipse.ui.IEditorPart getEditor()
null
)public org.eclipse.swt.widgets.Control getControl()
IOutlinePopupHost
null
if the control is disposed.getControl
in interface IOutlinePopupHost
null
public org.eclipse.jface.viewers.ISelectionProvider getSelectionProvider()
IOutlinePopupHost
getSelectionProvider
in interface IOutlinePopupHost
null
)public org.eclipse.ui.IEditorInput getEditorInput()
IOutlinePopupHost
null
if none.getEditorInput
in interface IOutlinePopupHost
null