|
Re: Restoring connections [message #197866 is a reply to message #197571] |
Wed, 05 October 2005 19:45 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02312 seconds