Skip to main content



      Home
Home » Modeling » Graphiti » how to re-select connection
how to re-select connection [message #1722872] Tue, 09 February 2016 15:46 Go to next message
Eclipse UserFriend
Hello,

In my diagram i have nested container shapes . I have problem with connection loosing its anchor when container has new shape and got bigger.
how do i handle that? my guess is that Layout Feature some how need to take care of it... but i am not sure.
what is the right way to fix it .

i am attaching a screen shot
Re: how to re-select connection [message #1722972 is a reply to message #1722872] Wed, 10 February 2016 10:44 Go to previous messageGo to next message
Eclipse UserFriend
Hi Maria,

ususally you do not need to care about connections when moving shapes. Connections start and end in a anchors (either explicitly defined ones or the default ChopboxAnchor). When you move the shape all children (anchors are children as well) are moved along. This even works if you change the parent of the shape.

You should check in your code if there any place (e.g. the layout feature you mentioned) that change the anchor of the connection (Connection.setStart/setEnd) or move an anchor to another parent.

HTH,
Michael
Re: how to re-select connection [message #1722982 is a reply to message #1722972] Wed, 10 February 2016 11:11 Go to previous message
Eclipse UserFriend
Thank your for quick reply,

make sense, i check this out

regards,
maria
Previous Topic:Reload Editor from different EditorInput for Save As
Next Topic:[SOLVED] How to change the selection border color and thickness
Goto Forum:
  


Current Time: Wed Apr 30 16:41:48 EDT 2025

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

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

Back to the top