|Popup menu for canvas [message #1016099]
||Mon, 04 March 2013 21:53
| Li Chen
Registered: July 2011
I am trying to add context menu for a canvas. The canvas itself has mouse listener that does something when mouse click or drag.|
I've add declare the popup menu in Application.e4xmi and register it in @PostConstruct as:
I've confirmed that the MENU_ID is correct, but the context menu is not shown on right click.
My guess is that the mouse listener has some side effects and make the popup menu disable, but we really need to have the mouse listener to work on the graphics in the canvas.
Can someone suggest a way to use mouse listener and the popup menu at the same time?
Powered by FUDForum
. Page generated in 0.01643 seconds