public abstract class ContextMenuPopupHandler extends java.lang.Object implements EditorPopupHandler
EditorPopupHandler
showing a context menu for some ActionGroup
(which can depend on click location).Modifier and Type | Class and Description |
---|---|
static class |
ContextMenuPopupHandler.ById
ContextMenuPopupHandler specification, which uses an action group registered in ActionManager under given id. |
static class |
ContextMenuPopupHandler.Simple
Popup handler which always shows context menu for the same action group (regardless of mouse click location).
|
NONE
Constructor and Description |
---|
ContextMenuPopupHandler() |
Modifier and Type | Method and Description |
---|---|
abstract ActionGroup |
getActionGroup(EditorMouseEvent event) |
boolean |
handlePopup(EditorMouseEvent event)
This method is called when a popup trigger mouse event is received by editor's main area.
|
public abstract ActionGroup getActionGroup(EditorMouseEvent event)
public boolean handlePopup(EditorMouseEvent event)
EditorPopupHandler
handlePopup
in interface EditorPopupHandler
true
if this handler has processed the event, false
if previously installed (or the default one if there are
none) handler should be invoked.