org.tm4j.tmnav.app.plugin.MenuItemProvider .getMenuItem(org.tm4j.panckoucke.model.AMMember member)
Description
Called from TMNav while putting a popup menu together.
Note that a JMenu is a specialisation of JMenuItem. Therefore this
method enables clients to add whole submenus to TMNav.
Parameters | ||
---|---|---|
org.tm4j.panckoucke.model.AMMember | member |
The member for whom the menu is created. This param may be null, if the method is called from a context, where no member is selected. |
Returns
a JMenuItem or null if the implementation choose not to
contribute this time.
Meta Data (2)
Deprecation Notice
:
since tmnav 0.2.9 this method is not called anymore from TMNav.
Please use {@link #getMenuItemForSelection(Selection)} instead
Other Resources
Related Topics
Has Parameters
member
[
Parameter #1
]