Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Preventing GEF from discovering chidren of a model
Preventing GEF from discovering chidren of a model [message #226978] Mon, 27 November 2006 16:26
Eclipse UserFriend
Originally posted by: divis1969.mail.ru

Hi,

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?

Dmitry
Previous Topic:Navigator-like window
Next Topic:Is there an API for Model => Editpart
Goto Forum:
  


Current Time: Thu Apr 18 15:17:32 GMT 2024

Powered by FUDForum. Page generated in 0.01939 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top