about figure of an editpart which has container role [message #38115] |
Thu, 31 October 2002 08:31  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03016 seconds