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

Bug 468764

Summary: LayoutListenerSupport does not apply dynamic layout when the last listener returns true.
Product: [Tools] GEF Reporter: Matthias Wienand <matthias.wienand>
Component: GEF LayoutAssignee: Matthias Wienand <matthias.wienand>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 3.10.1 (Mars SR1) M1   
Hardware: All   
OS: All   
Whiteboard:

Description Matthias Wienand CLA 2015-05-29 06:00:45 EDT
The LayoutListenerSupport handles the (un-)registration of layout listeners and firing of events. Upon certain events, a dynamic layout pass should be applied. This dynamic layout pass should not be applied if all executed listeners demand that no further changes need to be done. However, currently only the last listener which is executed determines whether the dynamic layout is applied.
Comment 1 Matthias Wienand CLA 2015-06-25 06:53:06 EDT
I fixed the execution of dynamic layout passes after certain events are fired, so that all listeners have to demand that no further changes need to be done in order to not apply the dynamic layout. I also added tests for these executions. The code is published on the master branch, therefore I resolve this ticket as fixed for 3.10.1M1.