Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Move Shepe(Move shape not from diagram editor.)
Move Shepe [message #899311] Tue, 31 July 2012 12:55 Go to next message
Anatoliy Tischenko is currently offline Anatoliy Tischenko
Messages: 7
Registered: July 2012
Junior Member
Hallo,

I have shape container and shape in it.
And I want If I move the shape, the shape container will move too. How can I do it?

Or how I can move shape not from diaram editor (create command and send it to execute)

Thanks for your help.
Re: Move Shepe [message #899479 is a reply to message #899311] Wed, 01 August 2012 06:31 Go to previous messageGo to next message
Matthias Gorning is currently offline Matthias Gorning
Messages: 81
Registered: April 2010
Location: Germany
Member
Sorry, but I did not understand your question.

You have a ContainerShape and a Shape as child? If yes, are both pictogram elements marked as active?
Re: Move Shepe [message #899551 is a reply to message #899479] Wed, 01 August 2012 12:03 Go to previous messageGo to next message
Anatoliy Tischenko is currently offline Anatoliy Tischenko
Messages: 7
Registered: July 2012
Junior Member
I am sorry. I don't now english very well..

1) Yes, Shape is child of ContainerShape.
2) No, marked as active only Shape.
Re: Move Shepe [message #899588 is a reply to message #899551] Wed, 01 August 2012 14:15 Go to previous messageGo to next message
Matthias Gorning is currently offline Matthias Gorning
Messages: 81
Registered: April 2010
Location: Germany
Member
Then you can only move the Shape inside the container. The container will stay at the same location in your diagram. Why will you change this behaviour?

If you mark the container also as active, then you can move the container in the diagram and the contained shape will automatically moved with it's container.

Re: Move Shepe [message #899768 is a reply to message #899588] Thu, 02 August 2012 09:43 Go to previous message
Anatoliy Tischenko is currently offline Anatoliy Tischenko
Messages: 7
Registered: July 2012
Junior Member
I undestood.
Thank You!
Previous Topic:Pallete icons don't show up
Next Topic:Move and Add with highlight
Goto Forum:
  


Current Time: Fri Oct 24 07:10:27 GMT 2014

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

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