|EcoreUtil.copy() and stereotypes [message #588802]
||Thu, 15 February 2007 11:03
Originally posted by: itai.segall.weizmann.ac.il|
I am trying to clone a UML2 model. As suggested in this newsgroup, I
used newModel = (Model)EcoreUtil.copy(oldModel).
Problem is stereotypes are not copied to the new model. The profiles
seem to be applied to the model, but the stereotypes are not applied to
the elements and their data is lost.
Is there a way to fix this problem? Any way to completely clone a model,
including its stereotypes?
Powered by FUDForum
. Page generated in 0.02777 seconds