Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Popup Menu on ZEST
Popup Menu on ZEST [message #246995] Thu, 22 January 2009 10:04 Go to next message
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 Go to previous message
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?
Previous Topic:[Zest] Curved Graphconnection.
Next Topic:[Announce] GEF 3.4.2 M200901141331 is available
Goto Forum:
  


Current Time: Fri Aug 29 20:31:48 EDT 2014

Powered by FUDForum. Page generated in 0.01957 seconds