Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Restoring connections
Restoring connections [message #197571] Tue, 04 October 2005 13:46 Go to next message
Nicolai Guba is currently offline Nicolai GubaFriend
Messages: 8
Registered: July 2009
Junior Member
I am having no joy reading a serialized graph (xml) back into my framework.

Everything is fine except that the connections are not even attaching to my
child nodes. They show but they all have the same origin (point 0,0) and
direction but are not attached to any of my parts. Oddly, as I seem to
move the source end of the connection the target end immediately attaches
to the right part and anchor.

I inspected the value of getModelTargetConnections() and
getModelSourceConnections() and they seem ok. But yet no joy :(

Has anybody got an idea how I can debug this?

Unfortunately all the examples use the standard java serialization
mechanism.

--
Nicolai Guba
+44.(0)151.282.3709
Sony Computer Entertainment Europe
http://www.scee.com
Re: Restoring connections [message #197866 is a reply to message #197571] Wed, 05 October 2005 19:45 Go to previous message
Eclipse UserFriend
Originally posted by: none.unknown.com

The persistence mechanism is irrelevant. The problem is in your
implementation on the GEF side. Are you providing anchors properly? What
router are you using?

"Nicolai Guba" <nicolai_guba@scee.net> wrote in message
news:1128433580.620279@joshua.ni.scee.sony.co.uk...
> I am having no joy reading a serialized graph (xml) back into my
framework.
>
> Everything is fine except that the connections are not even attaching to
my
> child nodes. They show but they all have the same origin (point 0,0) and
> direction but are not attached to any of my parts. Oddly, as I seem to
> move the source end of the connection the target end immediately attaches
> to the right part and anchor.
>
> I inspected the value of getModelTargetConnections() and
> getModelSourceConnections() and they seem ok. But yet no joy :(
>
> Has anybody got an idea how I can debug this?
>
> Unfortunately all the examples use the standard java serialization
> mechanism.
>
> --
> Nicolai Guba
> +44.(0)151.282.3709
> Sony Computer Entertainment Europe
> http://www.scee.com
Previous Topic:NullPointerException in palette
Next Topic:Selection of a figure inside another figure
Goto Forum:
  


Current Time: Sat Jan 18 08:42:56 GMT 2025

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

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

Back to the top