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

Bug 379234

Summary: Untyped Expand/Collapse listeners are not notified
Product: [RT] RAP Reporter: Ivan Furnadjiev <ivan>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 2.0 M1   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Fix + updated tests
none
Improved patch ivan: review?

Description Ivan Furnadjiev CLA 2012-05-11 07:13:17 EDT
Add untyped Expand/Collapse listener to ExpandBar and observe that the listener is not notified. The reason: UntypedEventAdapter does not implement ExpandListener.
Comment 1 Ivan Furnadjiev CLA 2012-05-11 07:16:37 EDT
Created attachment 215465 [details]
Fix + updated tests

Note: Commit the patch to Git repository after the Git migration is finished.
Comment 2 Ivan Furnadjiev CLA 2012-05-11 08:11:41 EDT
Created attachment 215468 [details]
Improved patch

Invert the if statements logic as ExpandEvent is only valid for ExpandBar (see ExpandEvent JavaDoc).
Comment 3 Ivan Furnadjiev CLA 2012-05-23 07:26:22 EDT
Applied patch to Git master. Fixed with commit 1c0c8e8eca746da986f51a790ff969930ba90d81.