| [news.eclipse.newcomer] Re: Thread Safe EMF Collections |
The new MinimalEObjectImpl uses a different implementation that involves an array that's never modified.
Yes, and in that case locking at the EMF level would be pointless or worse.
Even readers can cause proxies to resolve...
It also opens the question of how to restrict the generated model so that users are forced to use commands to do writes.It's not designed to be restricted in this way nor will it ever be the case. There are no panacea solutions or we'd have them already.
Yes, but reflectively you can still set the and of course for lists, the returned list is read/write...
Exactly and this is necessary for copying and deserialization.
This presumes that you'd never need to create a cycle or mutual dependency.Perhaps a type-safe composite of Setting delegates could be generated for each such EObject.More bloat! Nooooo...
The transaction framework basically helps you find problematic code patterns by adding an adapter that ensures, whenever it sees a change,
Thanks,
Cameron