Preference to specify value for menubarPath [message #1032307] |
Tue, 02 April 2013 21:08 |
Jane M. Messages: 9 Registered: August 2011 |
Junior Member |
|
|
Our plugin object contributions on file resources are extended from the Team menu, thus the menubarPath in plugin.xml is:
team.main/group2
etc.
Here's more of the XML:
<action
label = "%cancelCKO.label"
tooltip = "%cancelCKO.tooltip"
menubarPath = "team.main/group5"
class = "com.aldon.team.ui.actions.CancelCheckoutAction"
id = "com.aldon.team.ui.CancelCKO.pop" />
<action
There are approximately 20 menu items contributed to the Team context menu. There is a requirement to have a preference page to select which menu items should be extended from the Team menu, and which should show up in the main popup menu in the "additions" group. Since the plugin.xml is loaded at startup, I do not see a way to modify it based on a preference specified in the plugin. The plugin.xml would need to be generated prior to starting the plugin. Please confirm if this is correct, or if I'm missing something. Thanks.
|
|
|
Powered by
FUDForum. Page generated in 0.04742 seconds