public class ExceptionIntrospector extends java.lang.Object implements ContextMenuListener, Controller
UPDATE_FROM_ACTION_PERFORMED, UPDATE_FROM_ACTIVE_VIEW_CHANGED, UPDATE_FROM_UNDO, UPDATE_FROM_USER_EXTENSION, UPDATE_FROM_VIEW_SELECTION_CHANGED| Constructor and Description |
|---|
ExceptionIntrospector() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
handleDefaultAction(Context context)
Called when the user double clicks on an item that has a
context menu.
|
boolean |
handleEvent(IdeAction action,
Context context)
This method is called when a user interaction with a
View
triggers the execution of a command. |
void |
menuWillHide(ContextMenu contextMenu)
This method is called just before a showing context menu is
dismissed.
|
void |
menuWillShow(ContextMenu contextMenu)
Called just before the context menu is shown.
|
boolean |
update(IdeAction action,
Context context)
This method updates the enabled status of the specified action within the
specified context.
|
public void menuWillShow(ContextMenu contextMenu)
ContextMenuListenermenuWillShow in interface ContextMenuListenercontextMenu - the context menu being shownpublic void menuWillHide(ContextMenu contextMenu)
ContextMenuListenerContextMenuListener.menuWillShow(oracle.ide.controller.ContextMenu), since the IDE takes care of that
automatically.menuWillHide in interface ContextMenuListenercontextMenu - the context menu being hiddenpublic boolean handleDefaultAction(Context context)
ContextMenuListenertrue; otherwise it must return
false. Processing of handleDefaultAction
stops on the first return of true.handleDefaultAction in interface ContextMenuListenercontext - the context on which the default action needs
to occur.public boolean handleEvent(IdeAction action, Context context)
ControllerView
triggers the execution of a command.handleEvent in interface Controlleraction - action whose command is to be executed.public boolean update(IdeAction action, Context context)
Controllerupdate in interface Controlleraction - action whose command is to be executed.context - the current context