oracle.ide.addin
Interface ContextMenuListener
- All Known Implementing Classes:
- AbstractCanvas, CodeEditorController, DocumentRecognizer, JCompiler, ObjectGalleryAddin, VCSContextMenuListener
- 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.
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
Copyright © 1997, 2004, Oracle. All rights reserved.