Skip to main content



      Home
Home » Eclipse Projects » GEF » about figure of an editpart which has container role
about figure of an editpart which has container role [message #38115] Thu, 31 October 2002 08:31 Go to next message
Eclipse UserFriend
hi all,

say an EditPart has children EditParts. like in CircuitEditPart in logic
sample. when i look at it i see there is contentPane concept implemented. is
this a must? can't I (or shouldn't I) put children directly to this figure?
and finally is there some automated process behind getContentPane method in
EditPart?


thanx,
ozgur
Re: about figure of an editpart which has container role [message #38214 is a reply to message #38115] Thu, 31 October 2002 08:44 Go to previous message
Eclipse UserFriend
Originally posted by: hudsonr.us.eye-bee-em.com

"Ozgur Kurt" <ozgurkurt@hotmail.com> wrote in message
news:apr9ij$gji$1@rogue.oti.com...
> hi all,
>
> say an EditPart has children EditParts. like in CircuitEditPart in logic
> sample. when i look at it i see there is contentPane concept implemented.
is
> this a must? can't I (or shouldn't I) put children directly to this
figure?
By default, getContentPane just returns the EditParts Figure, so yes, you
can do this.

> and finally is there some automated process behind getContentPane method
in

The implementation is dumb. If you want to return a difference figure, you
must override the method.

> EditPart?
>
>
> thanx,
> ozgur
>
>
Previous Topic:about flowlayout again(one picture worth thousand words)
Next Topic:Problems in creating connections
Goto Forum:
  


Current Time: Sat Jun 07 04:59:21 EDT 2025

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

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

Back to the top