Adding menu to GMF diagram [message #157768] |
Tue, 30 October 2007 15:16  |
Eclipse User |
|
|
|
Hi All,
What extension points do you use to add menus to the generated diagram
editor main menu bar and diagram popup menu?
What is the correct Id to use within the extension point?
Thanks in advance!
|
|
|
|
Re: Adding menu to GMF diagram [message #157824 is a reply to message #157791] |
Tue, 30 October 2007 19:42  |
Eclipse User |
|
|
|
Originally posted by: ijerez2001.msn.com
I create a main menu bar with a action set in extensions, you can use the
example that provide GMF that is called "Hello World!" and the same for
popup menu, you can use a example in the extensions.
These examples are in the add menu for extensions, in the tab Wizards.
Regards
"Tomas Zijdemans" <trommas@yahoo.com> escribió en el mensaje de
noticias:fg82gj$sce$1@build.eclipse.org...
> Gary Leask wrote:
>> Hi All,
>> What extension points do you use to add menus to the generated diagram
>> editor main menu bar and diagram popup menu?
>
> I don't have any experience with the main menu bar, but
>
> http://wiki.eclipse.org/GMF_Tutorial_Part_3#Custom_Actions
>
> gives an introduction to diagram popup menus. But in my opinion it is
> complicating things. What you should do, is open the manifest of the
> diagram plugin, then the Extensions tab. under ..popupMenus you can define
> menu items and refer to an action. Much more easy and user friendly than
> starting to hack at the xml.
>>
>> What is the correct Id to use within the extension point?
>>
>
> You are free to select any ID - As long as you stick with it!
>
> HTH,
>
> Tomas Zijdemans
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.06230 seconds