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 09:59 Go to next message
bernard loiseau is currently offline bernard loiseauFriend
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 10: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 17:57 Go to previous message
Fredrik Attebrant is currently offline Fredrik AttebrantFriend
Messages: 24
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: Thu Nov 27 00:47:51 GMT 2014

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

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