Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Menu for items
Menu for items [message #22325] Thu, 17 August 2006 11:17 Go to next message
Eclipse UserFriend
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 #22418 is a reply to message #22325] Thu, 17 August 2006 13:54 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Zsolt,

This functionality was not implementes in 1.0 We aregoinf to provide it in
future.

-----------------
Alex Shatalin
Re: Menu for items [message #22506 is a reply to message #22418] Thu, 17 August 2006 15:38 Go to previous message
Eclipse UserFriend
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...
Previous Topic:generating diagram code from a headless build
Next Topic:how to listen to the change when I add a connection in editor?
Goto Forum:
  


Current Time: Fri Apr 26 06:51:34 GMT 2024

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

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

Back to the top