Skip to main content



      Home
Home » Eclipse Projects » GEF » Loopback Connections
Loopback Connections [message #163972] Fri, 14 January 2005 15:10 Go to next message
Eclipse UserFriend
Originally posted by: mmacfadden.redoaksw.com

Hello,

The model that I am trying to display in GEF allows loop back
connections where a particular node can connect back to itself. It
doesn't seem the GEF likes this. If the source and target are the same
object an IllegalArgumentException gets thrown. Does anyone know of a
way to allow these kind of connections. If there is nothing built into
GEF for this then I assume I will have to create a custom connection
class that allows the same source and target and also implement some
logic for drawing the connection line.

Any ideas?

Regards,
Mike
Re: Loopback Connections [message #163983 is a reply to message #163972] Fri, 14 January 2005 15:48 Go to previous message
Eclipse UserFriend
Originally posted by: mmacfadden.redoaksw.com

I actually found a posting related to this. I am going to work on some
things. If I need help I will ask again. Thanks.

Michael MacFadden wrote:
> Hello,
>
> The model that I am trying to display in GEF allows loop back
> connections where a particular node can connect back to itself. It
> doesn't seem the GEF likes this. If the source and target are the same
> object an IllegalArgumentException gets thrown. Does anyone know of a
> way to allow these kind of connections. If there is nothing built into
> GEF for this then I assume I will have to create a custom connection
> class that allows the same source and target and also implement some
> logic for drawing the connection line.
>
> Any ideas?
>
> Regards,
> Mike
Previous Topic:Help Needed!!!
Next Topic:Watermark
Goto Forum:
  


Current Time: Thu Jul 17 11:43:55 EDT 2025

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

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

Back to the top