Skip to main content


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 15:04 Go to next message
Eclipse UserFriend
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 15:34 Go to previous message
Eclipse UserFriend
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: Thu Apr 25 21:35:32 GMT 2024

Powered by FUDForum. Page generated in 0.03361 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top