| TreeViewer context menu does not show up [message #921737] |
Mon, 24 September 2012 07:38  |
Christian Eugster Messages: 124 Registered: July 2009 Location: St. Gallen Switzerland |
Senior Member |
|
|
Hi,
I have some problems using a context menu in a treeViewer. I follow the readings of Vogella, added two commands, the respective handlers, and a MPopupMenu with the respective Handled MenuItems to the part containing the treeViewer in the Application.d4xmi.
In the coded part I injected the EMenuService and added the code as explained by Vogella:
menuService.registerContextMenu(viewer, "popupmenu");
where "popupmenu" is the id of MPopupMenu in the model.
Am I missing something?
Thanks!
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01649 seconds