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: Sat Aug 08 13:05:00 GMT 2020

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

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

Back to the top