CDO internals [message #619163] |
Wed, 04 June 2008 08:26 |
Eclipse User |
|
|
|
Originally posted by: darpan.cmu.edu
Hi,
I am wondering if how CDO internally works could help me solve my problem.
The scenarios is as follows:
I have two identical models M1 and M2 each containing an element A. I
modify M1 by adding element B to A (using GEF) to get A', and now want to
apply the same model change to M2. As soon as I get the notification I try
to look for A in M2 and want to add B to it as well. Unfortunately I cant
find A in M2 because the Notification event contains A' and not A, so
EmfCoreUtil.equals returns false.
I wonder how CDO transfers model changes from one machine to another? I
think in principle I should be able to apply the same technique here.
Any help appreciated.
Thanks,
-darpan
|
|
|
Powered by
FUDForum. Page generated in 0.02855 seconds