|Re: Programmatically moving Packages within an UML model [message #626582]
||Mon, 19 May 2008 13:17
| Ed Merks
Registered: July 2009
It sounds like a question best asked on the UML2 newsgroup, which I've
added to the "to" list of the reply. Likely showing your stack trace
will be helpful for folks trying to understand what you've done.
Joakim Back wrote:
> I am working with a transformation aiming at adapting RSM models, to
> be compatible with tools previously used with Rose models.
> In the ModelRule, there is a desire to programatically move packages
> and content into a central Component. This has been possible with
> various content by creating clone packages, and moving content into
> the clones.
> An issue has arisen though with a Package that contains an Association
> to a Class in a sibling Package. The grand parent can be moved without
> issue to his clone, but when trying to move the content (say Packages
> A and B, where the Association is within A to a class in B) a
> ConcurrentModificationException arises.
> When moving the content through refactoring in Eclipse, there is no
> Does anyone have clues to how to circumvent the problem, or since I am
> new to both the code and EMF in general, a different approach altogether?
> Best regards,
Powered by FUDForum
. Page generated in 0.14618 seconds