> maybe I am missing something. Is not it simply possible that the action > "Note Window" remembers the state of the note windows? When the action > hides the note window, the action sets its variable noteWindowShown to > false, and vice versa. Would this solve the problem?
Hi Dan, I am afraid that this proposal can not solve the problem. It is is how to inform all relevant menu items (JCheckBoxMenuItem) with action show/hide note window always when the window is being displayed or hidden. The NodeHookAction is a standard framework action which knows nothing about the state or the meaning of the plug-in. Both the action and the menu item are created deeply inside the framework, and I do not see how to provide a connection between these parts without significant design changes or bad hacks. Further the plugin description should be extended so that JCheckBoxMenuItem is created instead of usual JMenuItem, but it is the less problem. Dimitry ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Freemind-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freemind-developer
