Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327628 - ComboRidget: do not fire event on UI modification when output only
Summary: ComboRidget: do not fire event on UI modification when output only
Status: RESOLVED FIXED
Alias: None
Product: Riena
Classification: RT
Component: ridget (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: 2.1.0.M1   Edit
Assignee: Elias Volanakis CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-13 01:40 EDT by Elias Volanakis CLA
Modified: 2010-11-19 03:56 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elias Volanakis CLA 2010-10-13 01:40:25 EDT
To reproduce:

0. Create a ComboRidget
1. Add listener to selection event
2. Make read only
3. Change from UI (the change will be reverted)

However two selection events are fired. They should not be fired.

Note that we still want selection events to be fired when the selection is changed via API (i.e. setSelection(...)).
Comment 1 Sabine Achilles CLA 2010-11-19 03:56:23 EST
I have made some changes to the AbstractComboRidget to deal with another Bug. The result of these changes was that this bug here is fixed as well. I commented in the test you wrote for it.