ptolemy.vergil.toolbox
Interface MenuItemListener

All Known Implementing Classes:
TransformationEditor

public interface MenuItemListener

An interface for listeners that are invoked when a menu item is created.

Since:
Ptolemy II 8.0
Version:
$Id: MenuItemListener.java 57044 2010-01-27 22:41:05Z cxh $
Author:
Thomas Huining Feng
See Also:
MenuActionFactory
Accepted Rating:
Red (tfeng)
Proposed Rating:
Red (tfeng)

Method Summary
 void menuItemCreated(JContextMenu menu, NamedObj object, javax.swing.JMenuItem menuItem)
          The method to be invoked when a menu item is created, so that this listener can modify the menu item if it needs to.
 

Method Detail

menuItemCreated

void menuItemCreated(JContextMenu menu,
                     NamedObj object,
                     javax.swing.JMenuItem menuItem)
The method to be invoked when a menu item is created, so that this listener can modify the menu item if it needs to.

Parameters:
menu - The menu context.
object - The object for which the menu item is created.
menuItem - The created menu item.