Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Creating Toolbar and Popup menu
Creating Toolbar and Popup menu [message #70684] Fri, 27 October 2006 06:57
Eclipse UserFriend
Originally posted by: seliva.gmail.com

Hi!

I am trying to add a toolbar for my editor with some custom menu actions
and also a popup menu when a node is right-clicked with some specific
options.

I have seen that in the .gmftool model is possible to add these "ToolBars"
and "Popup Menus" children, but it does not produce any change on my
diagram and I am also not sure about how and where to specify the desired
action.

I have tried to create the popup menu by adding an extension point to the
plugin.xml as in the midmap example:
http://wiki.eclipse.org/index.php/GMF_Tutorial_Part_3
but I havent made it to work as I dont really know how to adapt it to my
code.

It would be great to solve it through the .gmftool, as it is a more
intuitive way. Could someone tell me how to do this? Thanks!
Previous Topic:Management of the plugin.xml
Next Topic:Help on diagnosis needed
Goto Forum:
  


Current Time: Sun Jul 13 00:22:26 EDT 2025

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

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

Back to the top