The CellTree has a constructor that takes a TreeModel. I can't set the tree model via a setter.
I fetch the data for the tree via an asynchronous rpc call, this call is triggered on creation of the presenter corresponding to the view that holds the tree, but that means the view is also created, without the tree model populated with the necessary data.
When the data does return I set the root node on the model, but the model is already created without a root so it doesn't get the update...
I've gone this route because I want to have better control over the rendering of the tree nodes.
Two possible solutions...
Hold the render of the view until the fetch has come back so that when the tree is created the model has all the information - How do I do this?
Once the data comes back, and is set on the model, tell the tree to update... How do I do this?