Figure is not a child of this parent [message #74902] |
Tue, 08 April 2003 07:11 |
Eclipse User |
|
|
|
Originally posted by: beneyal.hotmail.com
Hi.
I'm writing a GEF plugin that displays draw2d figures with draw2d
connections between those figures. I added two tools:
1) a tool that can delete a figure and all of it's connections.
2) a tool that restores the deleted figures and connctions.
When the figures and connctions are restored, new figures and connections
are created (with the same size and location of the old ones.)
When I delete and then restore the connections for the first time it works
fine, but when I try to restore them the second time (after a second
delete) I get the following exception:
Unhandled exception caught in event loop.
Reason:
IWAG0003E Figure is not a child of this parent
I know that the problem is with the connections and not the other figures,
because when I delete and restore figures without connections, the error
doesn't happen.
Does anybody know what is the problem ???
Thanks a lot.
|
|
|
Powered by
FUDForum. Page generated in 0.02719 seconds