Popup Menu on ZEST [message #246995] |
Thu, 22 January 2009 10:04  |
Eclipse User |
|
|
|
Originally posted by: simone.simonesaraceni.it
Hi, is possible to add a popup menu for a Graph in Zest? Using
SelectionListener I can see the selected item, but how can I catch the
rigth click on an element? I try using a mouselistener, on mouseUp
function I check if button is 3 and was selected an item, but how to
show the popup?
Thanks?
|
|
|
Re: Popup Menu on ZEST [message #247000 is a reply to message #246995] |
Thu, 22 January 2009 10:34  |
Eclipse User |
|
|
|
Originally posted by: simone.simonesaraceni.it
I've solved using Menu menu = new Menu(shell, SWT.POP_UP); and after
that, with setMenu(menu) method for the graph.
Simone ha scritto:
> Hi, is possible to add a popup menu for a Graph in Zest? Using
> SelectionListener I can see the selected item, but how can I catch the
> rigth click on an element? I try using a mouselistener, on mouseUp
> function I check if button is 3 and was selected an item, but how to
> show the popup?
> Thanks?
|
|
|
Powered by
FUDForum. Page generated in 0.03568 seconds