[ATL] refining more than one model [message #629997] |
Thu, 30 September 2010 05:48  |
Eclipse User |
|
|
|
Hi,
I have a new transformation where I want to add Traces and I have read in
http:// www.google.es/url?sa=t&source=web&cd=1&ved=0CBUQ FjAA&url=http%3A%2F%2Fciteseerx.ist.psu.edu%2Fviewdoc%2F download%3Fdoi%3D10.1.1.105.774%26rep%3Drep1%26type%3Dpdf&am p;rct=j&q=atl%20trace%20adder&ei=u1ukTOqwBoOQjAfUxNi hDA&usg=AFQjCNGrFkT6zZHJwkXlbsl1u8gUrg2RnQ&cad=rja
about TraceAdder...
Is it possible to use TraceAdder ?¿?
Is it provided by ATL plug-ins or I have to install some new plug-ins ?¿?
And now, a question about refining mode...
I have read, in previous comments that, more than one input model, that conforms to different metamodels, could be used in refining mode but...
Is it possible to refine more than one model, that is, for 2 different models of different metamodels, refine these 2 models ?¿?
In my ATL transformation I have as Input models:
Diff Model conforms to DIFF Metamodel
UML Model conforms to UML Metamodel
DB Model conforms to DB Metamodel
TRACE Model conforms to TRACE Metamodel
and as Output models:
DB Model
TRACE Model
Thanks in advance.
|
|
|
|
|
|
|
Re: [ATL] refining more than one model [message #630072 is a reply to message #629997] |
Thu, 30 September 2010 10:48  |
Eclipse User |
|
|
|
lazy rule aren't supported in refining mode either.
But if you're in refining mode you could have a look at the refiningTrace model produced directly by the transformation.
This model is always produced in refining modeand stores the transformations executed on the input model. The references to elements are not direct but are URI references so that you can find the corresponding element by using getEObject(uri) on the resource.
To "catch" the refiningTrace model produced, you can add to the transformation an ouput model called refiningTrace conforming to the meta-model RefiningTrace (be aware of the cases, the names have to be exact).
You'll find the RefiningTrace meta-model here
|
|
|
Powered by
FUDForum. Page generated in 0.05161 seconds