Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » EcoreUtil.copy() and stereotypes
EcoreUtil.copy() and stereotypes [message #588802] Thu, 15 February 2007 11:03
Eclipse UserFriend
Originally posted by: itai.segall.weizmann.ac.il

Hi,

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?

Thanks,
Itai
Previous Topic:Re: ConcurrentModificationExceptions with ECoreUtil.resolveAll
Next Topic:Programmatic Navigation of a UML2 Model with Custom Profiles
Goto Forum:
  


Current Time: Fri Apr 19 22:27:13 GMT 2024

Powered by FUDForum. Page generated in 0.02732 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top