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

Bug 466856

Summary: The content synchronization disposes of the wrong parts.
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) RC1   
Hardware: All   
OS: All   
Whiteboard:

Description Matthias Wienand CLA 2015-05-08 11:32:45 EDT
The content synchronization disposes of parts which have no parent and no anchorages. However, a part may well have a link to the viewer via its anchoreds, i.e. disposing of parts should not depend on the part's anchorages, but on its anchoreds, instead.
Comment 1 Matthias Wienand CLA 2015-05-08 12:01:55 EDT
I aligned the content synchronization to the AbstractVisualPart implementation, i.e. parts are disposed of based on their anchoreds instead of their anchorages. The changes do not affect the current API. The code is published on the master branch, therefore, I resolve this ticket as fixed for 3.10.0RC1.