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:


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?

Previous Topic:Is there an API for Model => Editpart
Next Topic:Draw out of the Graphics area
Goto Forum:

Current Time: Thu Oct 28 18:44:08 GMT 2021

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

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

Back to the top