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.

Other Resources

Related Topics

Has Parameters