|
Re: Add option under "Project" in Menubar [message #479057 is a reply to message #479042] |
Sat, 08 August 2009 16:59 |
|
Hi,
Try:
menu:project?after=buildAutomatically
The best way of finding an existing ID for a menu is plugin-spy for
menus which is described here:
http://www.vogella.de/articles/EclipseCodeAccess/article.htm l#pluginspy_menu
Best regards, Lars
--
http://www.vogella.de/ - Eclipse plugin and Eclipse RCP Tutorials
http://www.twitter.com/vogella - vogella on Twitter
Rahul Yadav wrote:
> Hi All,
> I have to add an option under "Project" in menu bar.So when user clicks
> on "Project" in menu bar the drop down should contain this option.
> I am able to add option to menu bar before/after project but not in the
> list displayed in "Project".This option has to come after "Close Project".
>
> <extension point="org.eclipse.ui.menus">
> <menuContribution
> locationURI="menu:org.eclipse.ui.main.menu?after=project">
> <command commandId="de.vogella.plugin.htmlconverter.convert"
> label="Create HTML"
> style="push">
> </command>
> </menuContribution>
> </extension>
>
>
> Thanks all.
>
|
|
|
|
Re: Add option under "Project" in Menubar [message #600421 is a reply to message #479042] |
Sat, 08 August 2009 16:59 |
|
Hi,
Try:
menu:project?after=buildAutomatically
The best way of finding an existing ID for a menu is plugin-spy for
menus which is described here:
http://www.vogella.de/articles/EclipseCodeAccess/article.htm l#pluginspy_menu
Best regards, Lars
--
http://www.vogella.de/ - Eclipse plugin and Eclipse RCP Tutorials
http://www.twitter.com/vogella - vogella on Twitter
Rahul Yadav wrote:
> Hi All,
> I have to add an option under "Project" in menu bar.So when user clicks
> on "Project" in menu bar the drop down should contain this option.
> I am able to add option to menu bar before/after project but not in the
> list displayed in "Project".This option has to come after "Close Project".
>
> <extension point="org.eclipse.ui.menus">
> <menuContribution
> locationURI="menu:org.eclipse.ui.main.menu?after=project">
> <command commandId="de.vogella.plugin.htmlconverter.convert"
> label="Create HTML"
> style="push">
> </command>
> </menuContribution>
> </extension>
>
>
> Thanks all.
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03941 seconds