public abstract class OutlinePopupHandler
extends org.eclipse.core.commands.AbstractHandler
Constructor and Description |
---|
OutlinePopupHandler() |
Modifier and Type | Method and Description |
---|---|
protected abstract OutlinePopup |
createOutlinePopup()
Creates a new instance of the outline popup.
|
java.lang.Object |
execute(org.eclipse.core.commands.ExecutionEvent event) |
protected org.eclipse.jface.bindings.keys.KeyStroke |
getInvokingKeyStroke(org.eclipse.core.commands.ExecutionEvent event)
Returns the invoking keystroke for the given execution event.
|
protected IOutlinePopupHost |
getOutlinePopupHost(org.eclipse.core.commands.ExecutionEvent event)
Returns the outline popup host for the given execution event.
|
addHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, isHandled, removeHandlerListener, setBaseEnabled, setEnabled
public java.lang.Object execute(org.eclipse.core.commands.ExecutionEvent event) throws org.eclipse.core.commands.ExecutionException
org.eclipse.core.commands.ExecutionException
protected abstract OutlinePopup createOutlinePopup()
null
)protected IOutlinePopupHost getOutlinePopupHost(org.eclipse.core.commands.ExecutionEvent event)
This implementation returns a host based on the active editor,
or null
if no editor is currently active.
event
- the execution event (never null
)null
if noneprotected org.eclipse.jface.bindings.keys.KeyStroke getInvokingKeyStroke(org.eclipse.core.commands.ExecutionEvent event)
This implementation returns the first keystroke bound to
the event's command
.
event
- the execution event (never null
)null
if noneCopyright (c) 2014, 2018 1C-Soft LLC and others. Made available under the Eclipse Public License 2.0