Skip to main content



      Home
Home » Modeling » Graphiti » connection to another connection
connection to another connection [message #671079] Mon, 16 May 2011 13:36 Go to next message
Eclipse UserFriend
Is it possible to create a special type of connection that can connect to another connection?

Attached is a picture that visualizes the desired scenario.

index.php/fa/2747/0/
  • Attachment: example.png
    (Size: 0.47KB, Downloaded 497 times)

[Updated on: Mon, 16 May 2011 13:37] by Moderator

Re: connection to another connection [message #671269 is a reply to message #671079] Tue, 17 May 2011 06:16 Go to previous messageGo to next message
Eclipse UserFriend
Graphiti supports to attach connections to other connections in its newest
version (0.8.0 for Eclipse Indigo, M7 available). What happens in fact is
that after attaching the other connection is split into two connections and
a shape is inserted for the connection (can also be just 1 px or invisible).

I'm not sure though if creating exactly the impression on the image you
attached is possible; the gap could be a problem.

For details on this new feature see
http://www.eclipse.org/graphiti/pages/whats-new.html, in section M6
"Connections on Connections".

Michael


"Matt Biehl" wrote in message news:iqrmrg$82l$1@news.eclipse.org...

Is it possible to create a apecial type of connection that
can connect to another connection?

Attached is a picture that visualizes the desired scenario.
Re: connection to another connection [message #672321 is a reply to message #671269] Fri, 20 May 2011 12:54 Go to previous messageGo to next message
Eclipse UserFriend
Works fine with 0.8 RC1 Smile
Thanks!

BTW: the example code is in the tests folder, not on the examples folder as described on the newsworthy webpage. The example code is here:
org.eclipse.gmp/org.eclipse.gmp.graphiti/tests/org.eclipse.graphiti.testtool.sketch
in there look for the class AbstractSketchCreateSimpleConnectionFeature
Re: connection to another connection [message #673644 is a reply to message #672321] Tue, 24 May 2011 06:18 Go to previous messageGo to next message
Eclipse UserFriend
Thanks for pointing out. I updated the docu.

Michael


"Matt Biehl" wrote in message news:ir65re$nuc$1@news.eclipse.org...

Works fine with 0.8 RC1 :)
Thanks!

BTW: the example code is in the tests folder, not on the examples folder as
described on the newsworthy webpage. The example code is here:
org.eclipse.gmp/org.eclipse.gmp.graphiti/tests/org.eclipse.graphiti.testtool.sketch
in there look for the class AbstractSketchCreateSimpleConnectionFeature
Re: connection to another connection [message #677369 is a reply to message #671079] Wed, 08 June 2011 06:19 Go to previous message
Eclipse UserFriend
you can also create a connection decorator with a shape for example an ellipse,
add an anchor to ellipse. And connect connection to that anchor
Previous Topic:exception on thumbnail
Next Topic:Re: Image resize and rotate
Goto Forum:
  


Current Time: Mon Jul 14 18:52:26 EDT 2025

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

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

Back to the top