Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Set default position of node at creation time
Set default position of node at creation time [message #176738] Wed, 12 March 2008 04:46 Go to next message
Eclipse UserFriend
Originally posted by: messineo.rosario.gmail.com

Hi,

My problem is setting position of node at creation time. I create the
element within the createInitialModel method of class
<<NameModel>>DiagramEditorUtil and the editor shows it at upper left
corner.

I have tried to set the property Location of Figure associated with
element created but editor shows it always in the same position.

Someone can help me.


Thanks

Rosario
Re: Set default position of node at creation time [message #177542 is a reply to message #176738] Sun, 16 March 2008 17:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ingelin.isfeldt.gmail.com

I have the same problem. Anyone?
Re: Set default position of node at creation time [message #177738 is a reply to message #176738] Mon, 17 March 2008 13:17 Go to previous message
Eclipse UserFriend
Originally posted by: 5d5.mail.ru

Hello!

You do set location of notation Node, right?

Rosario wrote:
>
> Hi,
>
> My problem is setting position of node at creation time. I create the
> element within the createInitialModel method of class
> <<NameModel>>DiagramEditorUtil and the editor shows it at upper left
> corner.
>
> I have tried to set the property Location of Figure associated with
> element created but editor shows it always in the same position.
>
> Someone can help me.
>
>
> Thanks
>
> Rosario
>
Previous Topic:Absolute position of a Point
Next Topic:Connection between two shortcuts
Goto Forum:
  


Current Time: Fri Jul 18 03:28:57 EDT 2025

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

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

Back to the top