Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » MenuContribution: How to add a menu item under File.New Menu?(MenuContribution: How to add a menu item under File.New Menu?)
MenuContribution: How to add a menu item under File.New Menu? [message #662768] Thu, 31 March 2011 20:55
turik is currently offline turikFriend
Messages: 1
Registered: March 2011
Junior Member
Forum,

When using the menucontribution element,

What is the markup to add a menu item under File.New
submenu?
I would prefer the menu item to be with the following
items: 'Package', 'Class', 'Interface', etc.
(I do not wish to use 'additions')

Given sample markup, what would go in place
of <whatgoeshere?>

<menuContribution
locationURI="menu:new?after=<whatgoeshere?>">
<menu
label="Sample Menu"
mnemonic="M"
id="sample2.menus.sampleMenu">
<command
commandId="sample2.commands.sampleCommand"
mnemonic="S"
id="sample2.menus.sampleCommand">
</command>
</menu>

Thanks!
Previous Topic:Wizard Page depending on Wizard Page
Next Topic:Dependency Analysis issues
Goto Forum:
  


Current Time: Fri Apr 26 08:46:27 GMT 2024

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

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

Back to the top