Default location for figures on creation [message #180806] |
Thu, 03 April 2008 15:52 |
Eclipse User |
|
|
|
Originally posted by: fbanica.soluta.net
Hello,
I would like to create some figures on my diagram (by code), so I set the
"location" into the .gmfgraph (please, see the attachment). Nevertheless,
when the objects get created, they don't position into the specified
locations, but into the upper-left corner of the diagram.
Is it something wrong that I do, or what? Please help! Thanks,
Floppy
|
|
|
Re: Default location for figures on creation [message #180864 is a reply to message #180806] |
Fri, 04 April 2008 08:34 |
Eclipse User |
|
|
|
Originally posted by: nico.lammers.gmail.com
Florin,
I'm pretty sure that location property is the location of the figure on
the content pane.
If you want to programmatically set the location of an editpart you need
to set the location in the create request (assuming you're doing this
with code)
~ Nico
Florin Banica wrote:
> Hello,
>
> I would like to create some figures on my diagram (by code), so I set the
> "location" into the .gmfgraph (please, see the attachment). Nevertheless,
> when the objects get created, they don't position into the specified
> locations, but into the upper-left corner of the diagram.
>
> Is it something wrong that I do, or what? Please help! Thanks,
>
>
> Floppy
>
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03518 seconds