org.tm4j.tmnav.app.menu .JMenuItemProvider
Description
Classes that implement this interface will be able to return a JMenuItem that will become part of one of TMNavs Menus
Implementations of this interface
Method Summary | |
---|---|
javax.swing.JMenuItem |
getMenuItemForSelection(org.tm4j.tmnav.app.menu.Selection selection)
Called from TMNav while putting a popup menu together. This is each time when the user chooses to display that menu. Note that a JMenu is a specialisation of JMenuItem. |
void |
prepare(org.tm4j.tmnav.env.NavContext ctx,java.lang.Object ref)
Called from TMNav once per application session
to give the implementation access to the global TMNav
services and to an object that is considered as the
object to which this item can refer.
|
Related Topics
Imports
Is Contained By
Is Imported By