Adding a menu entry to the UML Editor Menu [message #477088] |
Wed, 12 March 2008 21:51  |
Eclipse User |
|
|
|
Hey,
When I open an uml file with the UML tree editor, the main menu bar is
populated with a menu "UML Editor". For a few hours now (yeah I bite..)
I try to extend that menu from inside my plugin. I try to do so via the
org.eclipse.ui.menu extension point like this:
<menuContribution
locationURI=" menu:org.eclipse.uml2.umlMenuID?after=org.eclipse.uml2.uml.e ditor.ElementMenuID ">
<menu
label="hahhahaha">
<command
commandId="allure.commands.generate"
label="huhuhu"
style="push">
</command>
</menu>
</menuContribution>
I also tried ..?after=additions, but that didn't work either. Is this
even possible?
Felix
|
|
|
|
Re: Adding a menu entry to the UML Editor Menu [message #477094 is a reply to message #477093] |
Thu, 13 March 2008 11:23  |
Eclipse User |
|
|
|
James, thanks a lot. I had the examples plugin in my workspace all the
time... I am just confused about all those extension points, but I guess
its normal in the beginning...
Felix
James Bruck wrote:
> Hi Felix,
>
> Have a look at the source code in org.eclipse.uml2.examples.uml.ui.
> Inspect the plugin.xml.
>
|
|
|
|
Re: Adding a menu entry to the UML Editor Menu [message #626223 is a reply to message #477093] |
Thu, 13 March 2008 11:23  |
Eclipse User |
|
|
|
James, thanks a lot. I had the examples plugin in my workspace all the
time... I am just confused about all those extension points, but I guess
its normal in the beginning...
Felix
James Bruck wrote:
> Hi Felix,
>
> Have a look at the source code in org.eclipse.uml2.examples.uml.ui.
> Inspect the plugin.xml.
>
|
|
|
Powered by
FUDForum. Page generated in 0.20837 seconds