Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » the best practises with contextual menu and treeview
the best practises with contextual menu and treeview [message #1086527] Wed, 14 August 2013 05:59 Go to next message
bernard loiseau is currently offline bernard loiseau
Messages: 4
Registered: August 2013
Junior Member
Hello ,
I have a treeview and a contextual menu , i want enable /disable menu element when right click is on a node or not .(i try with mouselistener on my tree but i think that not the best way)
What is the best way ? Another question when we use swt widget we must use listener to invoke handler there are another way ?

Thanks you

[Updated on: Wed, 14 August 2013 06:00]

Report message to a moderator

Re: the best practises with contextual menu and treeview [message #1089410 is a reply to message #1086527] Sun, 18 August 2013 13:57 Go to previous message
Fredrik Attebrant is currently offline Fredrik Attebrant
Messages: 23
Registered: June 2012
Junior Member
How about: http://www.vogella.com/articles/EclipseRCP/article.html#menuadvanced_popup
Previous Topic:ContextMenu and TreeItem data
Next Topic:Advice for Kepler based Product
Goto Forum:
  


Current Time: Wed Apr 16 06:57:16 EDT 2014

Powered by FUDForum. Page generated in 0.08498 seconds