Re: CellTree - which nodes are open or closed on it?

2012-02-14 Thread jabal
Today I had almost the same issue.. :-) It seems that browsing the model of the CellTree is almost impossible from the side of a SelectionModel or a DefaultSelectionEventManager. I inherited from DefaultSelectionEventManager and tried to override doMultiSelection(..) but from that method I could n

Re: CellTree - which nodes are open or closed on it?

2012-02-14 Thread Thomas Broyer
...which leads to the alternate solution: add an OpenHandler and a CloseHandler to the CellTree. -- 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/

Re: CellTree - which nodes are open or closed on it?

2012-02-14 Thread Patrice De Saint Steban
It's not a good solution, but when you open a tree node with setChildOpen(), the method return the Child TreeNode : public TreeNode setChildOpen(int index, boolean open, boolean fireEvents) { assertNotDestroyed(); checkChildBounds(index); CellTreeNodeView child = nodeView.getChil

CellTree - which nodes are open or closed on it?

2012-02-14 Thread Vasi , Sándor
I have a cellTree with few nodes. I need to send to the server side which nodes are open on the tree, and which are closed. I was thinking on two solutions, but i have problem with both. 1. Walk the cellTree and double-check all the nodes if they are open or closed. My problem with this is that i