Starting out [message #206997] |
Mon, 09 January 2006 22:57 |
Eclipse User |
|
|
|
Originally posted by: danderer.gmail.com
I'm just starting out with GEF, and trying to get the pieces sorted out. I've got what seems to be a straightforward problem, which might be trivial or might indicate a basic misconception.
I've put together something loosely modeled on the Shapes example. What I want it to do is to create a shape contained within a shape. My code seems to do that, but not display the embedded shape at all.
In my case the outer shape is a RoundedRectangle, and the inner a RectangularFigure. Either of these, added to the model at the top level, displays fine. However, if one is a child of the other, the child does not display.
Now I've expanded the model to support children, and I see the child there. I also see the appropriate EditParts created for both the parent and child. But I never see the child painted.
So, am I misunderstanding how to create this relationship? And if not, what 'minor' things should I be looking at to understand this behavior?
Thanks.
|
|
|
|
Powered by
FUDForum. Page generated in 0.02816 seconds