Hi, I have expanded the Tree element and add each one SelectionHandler, OpenHandler, CloseHandler to my Custom Tree class. The problem is: whenever I close a tree, then first the SelectionHandler is executed, and then the CloseHandler. All other things work fine: if I open the tree, only OpenHandler executes. If I select an element, only SelectionHandler gets executed.
BUT if I selected an element in the expanded tree and close the Tree afterwards, then again SelectionHandler gets executed and then CloseHandler. How can I prevent this? Or how could I tell the Tree element to first call the CloseHandler and then the SelectionHandler? Because I need to track in the SelectionHandler if open/close of the tree was clicked. Thanks -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/-AYbUVYz7_EJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
