|defining menu in one plugin, but using it in another plugin.xml and adding a visibleWhen clause and [message #336932]
||Tue, 14 July 2009 10:07
| No real name
Registered: July 2009
I want to define a menu (that has a specific ordering of command items) |
in one plugin but use it and modify it another plugin. Here's the scenario:
a) PluginA: Define a menu that attaches to the main menu. Defines an
order of commands that I want to make standard.
b) PluginB: I want to turn off the placement of the menu in PluginA, use
the definition of it, but then add a visibleWhen clause to customize it.
How can I accomplish this? In other words, if no changes are made, the
definition in PluginA is used, otherwise, PluginB with the changes
indicated. Or should I use some type of plugin.xml "include" mechanism
if one exists.
Powered by FUDForum
. Page generated in 0.02202 seconds