|
Extension SDK 10.1.3.36.73 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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 |
public void menuWillShow(ContextMenu contextMenu)
contextMenu - the context menu being shownpublic void menuWillHide(ContextMenu contextMenu)
menuWillShow(oracle.ide.controller.ContextMenu), since the IDE takes care of that
automatically.
contextMenu - the context menu being hiddenpublic boolean 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.
|
Extension SDK 10.1.3.36.73 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright © 1997, 2005, Oracle.All rights reserved.