Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [e4-dev] Declarative UI in E4

Hallvard wrote on 01/27/2009 05:09:17 PM:

> attach the necessary adapters. The idea is then to integrate this with
> DataBinding as a special computed value and trigger re-evaluation when the
> relevant notifications arrive. I'm not really sure how well this will scale,
> e.g. if you use _javascript_ for computing the labels of a large list,
> but it works.

You probably want to delay the re-evaluation (with something like asyncExec) instead of doing it when a notification arrives, to avoid the "event storm" problem. For long lists, you can re-evaluate only visible items to make this scale. ComputedValue together with things like ControlUpdater, TableUpdater, etc. already implement some of this.

Boris


Back to the top