public interface ContextMenuListener
| 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 contextMenu)
Called just before the context menu is shown.
|
void menuWillShow(ContextMenu contextMenu)
contextMenu - the context menu being shownvoid menuWillHide(ContextMenu contextMenu)
menuWillShow(oracle.ide.controller.ContextMenu), since the IDE takes care of that automatically.contextMenu - the context menu being hiddenboolean handleDefaultAction(Context context)
true; otherwise it must return false. Processing of handleDefaultAction stops on the first return of true.context - the context on which the default action needs to occur.