Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Re: Programmatically moving Packages within an UML model
Re: Programmatically moving Packages within an UML model [message #626582] Mon, 19 May 2008 13:17
Ed Merks is currently offline Ed Merks
Messages: 26135
Registered: July 2009
Senior Member
Joakim,

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:
> Hello,
>
> 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
> issue.
>
> 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,
>
> Joakim
Previous Topic:Multiple inheritance problem (extending UML)
Next Topic:Proposed criteria for editing property subsets and element redefinitions
Goto Forum:
  


Current Time: Wed Oct 22 12:24:05 GMT 2014

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

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