|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.0) E13403-08 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContextMenuListener
This is the callback interface that allows extensions to add menu items and submenus to the context menu.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.0) E13403-08 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |