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)
Default implementation returns the host based on the active editor,
or null
if none.
event
- the execution event (never null
)null
protected org.eclipse.jface.bindings.keys.KeyStroke getInvokingKeyStroke(org.eclipse.core.commands.ExecutionEvent event)
Default implementation returns the first keystroke bound to
the event's command
.
event
- the execution event (never null
)null
if none