Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 450285

Summary: Replace IDeleteContentChildrenPolicy and IDetachContentAnchoragesPolicy with new IContentPart API.
Product: [Tools] GEF Reporter: Matthias Wienand <matthias.wienand>
Component: GEF MVCAssignee: gef-inbox <gef-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 3.10.0 (Mars) M3   
Hardware: All   
OS: All   
Whiteboard:

Description Matthias Wienand CLA 2014-11-06 07:12:34 EST
Currently, deletion is implemented via two policies (IDeleteContentChildrenPolicy and IDetachContentAnchoragesPolicy) which have to be configured as adapters on the content parts. This process can be simplified by extending the IContentPart API in a similar way the synchronization is supported by the IContentPart API.

Missing functionality:
 - addContentChild(Object)
 - removeContentChild(Object)
 - attachToContentAnchorage(Object, String role)
 - detachFromContentAnchorage(Object, String role)
Comment 1 Matthias Wienand CLA 2014-11-06 09:59:23 EST
I extended the IContentPart API accordingly and implemented deletion in the MVC Example using the new API. The code is published on the master branch, therefore I resolve this ticket as fixed for target milestone 3.10.0M3.