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

Bug 480616

Summary: AbstractVisualPart does not properly fire change events when adding/removing children.
Product: [Tools] GEF Reporter: Alexander Nyßen <nyssen>
Component: GEF MVCAssignee: Alexander Nyßen <nyssen>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.2.0   
Target Milestone: 4.0.0 / 3.11.0 (Neon) M3   
Hardware: All   
OS: All   
Whiteboard:

Description Alexander Nyßen CLA 2015-10-26 05:02:58 EDT
AbstractVisualPart#addChild() and AbstractVisualPart#removeChild() do not properly fire change events because the old children list is not copied before firing the change event.
Comment 1 Alexander Nyßen CLA 2015-10-26 05:15:39 EDT
Ensured that property change events are now properly fired when adding/removing children to AbstractVisualPart. Added test cases to check proper behavior to org.eclipse.gef4.mvc.tests. Pushed all changes to origin/master. Resolving as fixed in 3.11.0 M3.