public final class MigrationContextMenuListener extends java.lang.Object implements ContextMenuListener
| Constructor and Description |
|---|
MigrationContextMenuListener() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
handleDefaultAction(Context context)
Called when the user double clicks on an item that has a context menu.
|
void |
menuWillHide(ContextMenu contextMenu)
This method is called just before a showing context menu is dismissed.
|
void |
menuWillShow(ContextMenu popup)
Called just before the context menu is shown.
|
public void menuWillShow(ContextMenu popup)
ContextMenuListenermenuWillShow in interface ContextMenuListenerpopup - 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.