Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » [solved] Accessing to new model element
[solved] Accessing to new model element [message #1369129] Tue, 20 May 2014 08:38 Go to next message
Gianni Rosa is currently offline Gianni Rosa
Messages: 11
Registered: August 2013
Junior Member
Hi guys,
In an ATL transformation, by means a matched rule I create a model element of type A and model elements of typed B contained in A.

Subsequently, an helper may call (depending of some conditions) a called rule that creates another model element of type B.

Now, if I try to append to model element A the new contained model element B, nothing happens!

How can I append the new element to the container class?

Thanks for your help!

Gianni

[Updated on: Tue, 20 May 2014 09:30]

Report message to a moderator

Re: Accessing to new model element [message #1369224 is a reply to message #1369129] Tue, 20 May 2014 09:30 Go to previous message
Gianni Rosa is currently offline Gianni Rosa
Messages: 11
Registered: August 2013
Junior Member
Solved!

Just put the opposite and it works!

Thanks,
Gianni
Previous Topic:[solved] helper call two sentences ??
Next Topic:Regex to compare string
Goto Forum:
  


Current Time: Wed Aug 27 21:21:28 EDT 2014

Powered by FUDForum. Page generated in 0.02105 seconds