Menu for items [message #22325] |
Thu, 17 August 2006 07:17  |
Eclipse User |
|
|
|
Originally posted by: zsolt.sandor.gmail.com
Hi!
I'd like to add a new context menu item to the
graphical element's context menu.
I found, that I have to define that in the .gmftool
file. I have to create a Context menu item, it's ok.
Now, i have to add something, I created an Menu Action.
Is it a good way? I can specify different Kind's, what
are those kinds? Is there any description avaliable
about it?
After the setup, I was able to select the context
menu in the .gmfmap file, in the Node Mapping
node's Context Menu element. I generated the gmfgen
file, and then generated the diagram code. As i
found, the generated code does not contains anything
regarding the Context menu.
Does this function work at all?
Thanks:
Zsolti
|
|
|
|
Re: Menu for items [message #22506 is a reply to message #22418] |
Thu, 17 August 2006 11:38  |
Eclipse User |
|
|
|
Originally posted by: zsolt.sandor.gmail.com
Oh, thanks.
This functionality can be however achived
with editing the plugin.xml file as described in
the tutorial part 3.
Perhaps it would be a good idea to write to a wiki
page what works, and what does not work in
the actual release...
|
|
|
Powered by
FUDForum. Page generated in 0.04081 seconds