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 not access the tree
data as it is hidden by the HasData<T> interface. When debugging the
instance of this interface is a CellTreeNodeView$NodeCellList but is a
private inner class that cannot be accessed.. :-(
Regards,
JB
On Feb 14, 11:46 am, Vasi, Sándor <
sa...@inlineskate.hu> wrote:
> 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 dont know, how to walk the tree.
> I can get it's root element from the CellTree by calling it's
> tree.getRootTreeNode() method,
> but i cant find any way how to get the rootNode's children.
http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/g...