|ChangeRecorder: Ignore Notifications of Transient EStructuralFeatures [message #631813]
||Fri, 08 October 2010 21:01
| Andy Condon
Registered: July 2009
In my model I have certain EStructuralFeatures marked as transient. These pieces of the model are updated during runtime in my application rather than through my persistence mechanism, CDO. This works as expected and I only receive notifications through CDO about the non-transient attributes. However my views all leverage the fact that local EMF notifications are still generated, allowing the views to update automatically.
Now I want to use the EMF ChangeRecorder in my application. The ChangeRecorder is (not-surprisingly) tracking all changes, even those to the transient attributes. I'd like it to work like my persistence mechanism, only tracking the changes to the non-transient attributes. Is it possible to do this with the ChangeRecorder and still utilize EMF notifications in my views?
I'd like to use the ChangeRecoder to track user modifications in a way that is decoupled from CDO, but ignore data that is generated during runtime.
[Updated on: Fri, 08 October 2010 21:05]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.04626 seconds