|Preventing GEF from discovering chidren of a model [message #226978]
||Mon, 27 November 2006 16:26
Originally posted by: divis1969.mail.ru|
I was unable to find clear solution for the following problem:
I have a model with simple parent<->child relations.
I can show it in a view like browser, in outline view as a tree.
The problem is that creating of this model could require a significant time.
At the same time, it it not necessary to create a full model. I can continue
model building when user click '+' on the node in tree view.
Unfortunately, GEF tries to find all the children of all the nodes in a
TreeViewer supplied with my model root.
Looks like it impossible to prevent this if I return empty or non-empty list
depending on active status of the EditPart.
Maybe someone knows how to do this?
Powered by FUDForum
. Page generated in 0.05186 seconds