Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 20:21 Go to next message
cenk Mising name is currently offline cenk Mising nameFriend
Messages: 159
Registered: July 2009
Senior Member
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 18:11 Go to previous message
Matthias Wienand is currently offline Matthias WienandFriend
Messages: 230
Registered: March 2015
Senior Member
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 25 19:44:29 GMT 2024

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

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

Back to the top