Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » connection to another connection
connection to another connection [message #671079] Mon, 16 May 2011 17:36 Go to next message
Matt Biehl is currently offline Matt BiehlFriend
Messages: 9
Registered: May 2011
Junior Member
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 302 times)

[Updated on: Mon, 16 May 2011 17:37]

Report message to a moderator

Re: connection to another connection [message #671269 is a reply to message #671079] Tue, 17 May 2011 10:16 Go to previous messageGo to next message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1921
Registered: July 2009
Location: Walldorf, Germany
Senior Member
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 16:54 Go to previous messageGo to next message
Matt Biehl is currently offline Matt BiehlFriend
Messages: 9
Registered: May 2011
Junior Member
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 10:18 Go to previous messageGo to next message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1921
Registered: July 2009
Location: Walldorf, Germany
Senior Member
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 10:19 Go to previous message
Filippo Rossoni is currently offline Filippo RossoniFriend
Messages: 6
Registered: July 2009
Junior Member
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: Thu Aug 13 05:38:57 GMT 2020

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

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

Back to the top