Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » location points
location points [message #223669] Wed, 04 October 2006 12:19 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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?
>
Previous Topic:Re: How to add drag & drop to a view?
Next Topic:Resize palette
Goto Forum:
  


Current Time: Sat Apr 27 02:29:29 GMT 2024

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

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

Back to the top