I want to have 2 TreeModels
: the root of the second TreeModel
is a node of the first TreeModel
(therefore, the second TreeModel
is a subtree of the first TreeModel
).
I think that I can easily do this by cloning the this TreeModel
and changing the root. However, I don't know if there is an easy way of cloning TreeModel
.