Skip to main content



      Home
Home » Eclipse Projects » GEF » Change parent of child on GEF5(Change parent of child on GEF5)
Change parent of child on GEF5 [message #1799950] Mon, 17 December 2018 15:21 Go to next message
Eclipse UserFriend
Hi,

How can be changed parent of child. Is it best way that first removed child(with RemoveContentChildOperation) and after the child added(with AddContentChildOperation) to other part. Is there other way for this issue on GEF5.
Re: Change parent of child on GEF5 [message #1802140 is a reply to message #1799950] Fri, 01 February 2019 13:11 Go to previous message
Eclipse UserFriend
Hi cenk,

changing the parent is currently only supported via remove/add by default.

Reordering of children is possible, though (same parent, different index in list of children).

Also, ContentPolicy (as well as CreationPolicy and DeletionPolicy) might help with such operations.

Best regards,
Matthias
Previous Topic:Drag an object from GEF and drop it in SWT composite
Next Topic:Need guidance porting connection router from Zest 1.7 to current
Goto Forum:
  


Current Time: Thu Apr 17 11:58:54 EDT 2025

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

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

Back to the top