Creating Toolbar and Popup menu [message #70684] |
Fri, 27 October 2006 06:57 |
Eclipse User |
|
|
|
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!
|
|
|
Powered by
FUDForum. Page generated in 0.03620 seconds