Reference Updating [message #624151] |
Wed, 01 August 2007 11:08 |
Andrew Carton Messages: 104 Registered: July 2009 |
Senior Member |
|
|
Hi,
Imagine one has an UML Element 'A', and many unknown UML Elements that
reference this element. Given another uml element 'B' of the same type
as A, I'd like to force all the references that point to A to now point
to B. Also, B may contain its own references that I'd also like to keep
intact, so simply replacing the instance of the Ecore properties of
element B with those of A and re-adding a copy of A to the model will
not work.
Is there any generic easy way of doing this? Perhaps using the EMF
reflection maybe?
Cheers,
Andrew.
|
|
|
Powered by
FUDForum. Page generated in 0.02828 seconds