p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Professional Java Native Interfaces with SWT/JFace (http://p2p.wrox.com/forumdisplay.php?f=166)
-   -   Jface CheckedTreeDialog adding Handler/Listener (http://p2p.wrox.com/showthread.php?t=73572)

negroscuro March 26th, 2009 11:51 AM

Jface CheckedTreeDialog adding Handler/Listener
 
Hello,
I have to stablish the behavior of the view regarding the checked items in order to have coherency between the different tree nodes checked.
I mean if you check a leaf node I want to also check automatically all higher branch nodes or If you uncheck the las checked leaf node then unchek all the higher nodes without child nodes checked...

So I need to catch an event when user checks or unchecks any tree element in the view.

Could anyone tell me how should I add a listener to do this? or how other way I should try to achieve it?

Thank you in advance.


All times are GMT -4. The time now is 11:27 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.