oracle.ide.addin
Interface ContextMenuListener
- All Known Implementing Classes:
- CodeEditorController, JCompiler, DocumentRecognizer
- public interface ContextMenuListener
The ContextMenuListener allows implementors to add their own menu
items to the context menu associated with this listener.
poppingUp
public void poppingUp(ContextMenu popup)
- Called just before the context menu is popping up.
- Parameters:
context
- the current view context.
poppingDown
public void poppingDown(ContextMenu popup)
handleDefaultAction
public boolean handleDefaultAction(Context context)
- Called when the user double clicks on an item that has a popup menu.
Only one listener should return true from this menu.
- Parameters:
context
- the current context