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 null
public org.eclipse.ui.IEditorPart getEditor()
null
)public org.eclipse.swt.widgets.Control getControl()
IOutlinePopupHost
null
if the control is no longer available or has yet to be created.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
Copyright (c) 2014, 2020 1C-Soft LLC and others. Made available under the Eclipse Public License 2.0