Extension SDK

oracle.ide.addin
Interface ContextMenuListener

All Known Implementing Classes:
AbstractCanvas, CodeEditorController, DocumentRecognizer, JCompiler

public interface ContextMenuListener

The ContextMenuListener allows implementors to add their own menu items to the context menu associated with this listener.


Method Summary
 boolean handleDefaultAction(Context context)
          Called when the user double clicks on an item that has a popup menu.
 void poppingDown(ContextMenu popup)
           
 void poppingUp(ContextMenu popup)
          Called just before the context menu is popping up.
 

Method Detail

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

Extension SDK

 

Copyright ©1997, 2003, Oracle. All rights reserved.