Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Preference to specify value for menubarPath
Preference to specify value for menubarPath [message #1032307] Tue, 02 April 2013 21:08
Jane M.  is currently offline Jane M.
Messages: 8
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.
Previous Topic:Open editor in the presence or nested projects , API question
Next Topic:* B U G * ? Install new Software not working - Juno SR2 Linux32bit
Goto Forum:
  


Current Time: Tue Oct 21 10:30:11 GMT 2014

Powered by FUDForum. Page generated in 0.14637 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software