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 no longer available or has yet to be created. |
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 the selection provider of this host.
|
public EditorOutlinePopupHost(org.eclipse.ui.IEditorPart editor)
editor - not nullpublic org.eclipse.ui.IEditorPart getEditor()
null)public org.eclipse.swt.widgets.Control getControl()
IOutlinePopupHostnull
if the control is no longer available or has yet to be created.getControl in interface IOutlinePopupHostnullpublic org.eclipse.jface.viewers.ISelectionProvider getSelectionProvider()
IOutlinePopupHostgetSelectionProvider in interface IOutlinePopupHostnull)public org.eclipse.ui.IEditorInput getEditorInput()
IOutlinePopupHostnull if none.getEditorInput in interface IOutlinePopupHostnullCopyright (c) 2014, 2020 1C-Soft LLC and others. Made available under the Eclipse Public License 2.0