Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Starting out
Starting out [message #206997] Mon, 09 January 2006 22:57 Go to next message
Eclipse UserFriend
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.
Re: Starting out [message #207092 is a reply to message #206997] Tue, 10 January 2006 17:49 Go to previous message
Eclipse UserFriend
Originally posted by: danderer.gmail.com

Ah ha - forgot the layout manager on the parent object.
Previous Topic:Small palette problem
Next Topic:actionbar and editor actions
Goto Forum:
  


Current Time: Tue Jan 21 23:16:43 GMT 2025

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

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

Back to the top