org.tm4j.tmnav.app.menu.JMenuItemProvider .getMenuItemForSelection(org.tm4j.tmnav.app.menu.Selection selection)
Description
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. Therefore this
method enables clients to add whole submenus to TMNav.
Parameters | ||
---|---|---|
org.tm4j.tmnav.app.menu.Selection | selection |
The selection for which the menu is created. |
Returns
a JMenuItem or null if the implementation choose not to
contribute this time.
Meta Data (1)
Other Resources
Related Topics
Has Parameters