Boris Bokowski wrote:
> I will also contribute Javascript support for EMF, which should make
> it easy to
> script UI objects. I've extended it with dependency tracking, to support
> re-evaluating expressions when their value changes. This should
> support databinding.
Sounds cool - have you seen the recent discussion about "contexts"?
There is early code in CVS
(org.eclipse.e4.core.services.internal.context.EclipseContext in
org.eclipse.e4.core.services) which also does dependency tracking. It
would be interesting to explore the similarities and differences between
what you have done, and the code in e4. Perhaps we can extract some
common code?
I saw the discussion, but didn't relate it to Javascript. I think Ed mentioned
once that there is a feature request for EMF in bugzilla for supporting
dependency management. E.g. you traverse some structure or evaluate some
expression, and then get a notification when any part of that structure changes,
so you can re-travers or -evaluate, to get the new result.
Javascript uses wrappers that makes it easy to record all kinds of things,
including all (explicit) read access to EMF features.
Hallvard
_______________________________________________
e4-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/e4-dev