Placing child figure at fixed relative position [message #226063] |
Sun, 05 November 2006 06:31  |
Eclipse User |
|
|
|
Hi,
I wonder how I can place a child figure at a fixed position and
with a fixed size relative to the position and size of its parent
figure. Since I'm quite new to GEF/Draw2d, any help on this question-
which is not too hard, I suppose - would be appreciated.
Thanks in advance,
Andreas
|
|
|
|
Re: Placing child figure at fixed relative position [message #226097 is a reply to message #226063] |
Mon, 06 November 2006 00:59  |
Eclipse User |
|
|
|
Originally posted by: none.unknown.com
The parent figure should return true for useLocalCoordinates(). The
CircuitFigure in the logic editor is an example of what you want to do.
"Andreas Walter" <awaltx@gmx.de> wrote in message
news:eiki3g$cvd$1@utils.eclipse.org...
> Hi,
>
> I wonder how I can place a child figure at a fixed position and
> with a fixed size relative to the position and size of its parent figure.
> Since I'm quite new to GEF/Draw2d, any help on this question-
> which is not too hard, I suppose - would be appreciated.
>
> Thanks in advance,
> Andreas
|
|
|
Powered by
FUDForum. Page generated in 0.03965 seconds