location points [message #223669] |
Wed, 04 October 2006 12:19 |
Eclipse User |
|
|
|
Originally posted by: Sferzah.yandex.ru
in "A Shape Diagram Editor" article
in a model definition:
private Point location = new Point(0, 0);
....
in other "examples" i don't see that model save the location of object.
And classes generated by GMF don't have fields "location point" in a model
definition.
Where i must define the objects location point on my diagram, in model
definition or somewhere else?
|
|
|
Re: location points [message #223708 is a reply to message #223669] |
Wed, 04 October 2006 15:15 |
Eclipse User |
|
|
|
Originally posted by: none.unknown.com
The model is your own, so where in your model you save it is your choice.
GMF saves this information in LayoutConstraints (see its heirarchy).
"Alexey" <Sferzah@yandex.ru> wrote in message
news:e78862af8dfdf101a28e87d4ef320842$1@www.eclipse.org...
> in "A Shape Diagram Editor" article in a model definition:
> private Point location = new Point(0, 0);
> ...
>
> in other "examples" i don't see that model save the location of object.
> And classes generated by GMF don't have fields "location point" in a model
> definition.
>
> Where i must define the objects location point on my diagram, in model
> definition or somewhere else?
>
|
|
|
Powered by
FUDForum. Page generated in 0.03188 seconds