Bug 126975 - [DataBinding] Defined Rules Needed When Firing Change Events
Summary: [DataBinding] Defined Rules Needed When Firing Change Events
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Boris Bokowski CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2006-02-08 15:41 EST by Scott Delap CLA
Modified: 2019-06-25 14:32 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Delap CLA 2006-02-08 15:41:25 EST
Change events aren't fired with a level of organization that I would prefer at the moment.  Features that would be useful:

1.  Breadth First event firing with child event processing queued until the parent level is processed.

2.  Unit of work event aggregation allowing a listener to receive the collection of all change events triggered by the root change event.

3.  Event sumation where a listener could register to care about A or B and would receive only one event if both A and B change.
Comment 1 Matthew Hall CLA 2009-01-21 22:12:26 EST
Are we talking about an IObservable version of Control.setRedraw()?
Comment 2 Dave Orme CLA 2009-01-22 09:12:29 EST
No.  We are talking about situations where the bindings form a graph, not a tree.

Consider:

List<Customer> --> selection -->>
--> city. <---!
--> state <--!
--> zip ------+

When the user selects the zip, that sets city and state.  But when the user sets the selection, unpredictable things happen because we have no idea of the order thar the change events will be fired.