Skip to main content



      Home
Home » Eclipse Projects » GEF » Figure is not a child of this parent
Figure is not a child of this parent [message #74902] Tue, 08 April 2003 07:11
Eclipse UserFriend
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.
Previous Topic:GEF Viewer size limitation
Next Topic:GEF Hello 6 tutorial does not compile
Goto Forum:
  


Current Time: Sat May 10 02:22:57 EDT 2025

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

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

Back to the top