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
_______________________________________________
e4-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/e4-dev