[ATL] model modification possible? [message #53621] |
Thu, 19 July 2007 15:01  |
Eclipse User |
|
|
|
Hi,
after reading some parts of the user manual and searching in the
newsgroup I could not find out if it is possible or practical to modify
(refactoring in my case) a model directly without creating a new one.
Did I miss something? If I understand the refining execution mode
correctly it still creates a new model copying the elements that have
not been touched.
In my case I can have a huge model where duplicating it is not an option.
What do you think?
Bye,
Sandro
|
|
|
|
Re: [ATL] model modification possible? [message #54061 is a reply to message #54016] |
Fri, 20 July 2007 12:18  |
Eclipse User |
|
|
|
Hello Hugo,
Hugo Bruneliere schrieb:
> Sandro Böhme a écrit :
>> Hi,
>
> Hi Sandro,
>
>> after reading some parts of the user manual and searching in the
>> newsgroup I could not find out if it is possible or practical to
>> modify (refactoring in my case) a model directly without creating a
>> new one. Did I miss something?
>
> ATL always creates an new output model (or several) from a given input
> model (or several). There are no ways to directly modify the input model.
that's too bad, because I would be glad to work with ATL. E.g. stepping
through a transformation and seeing the actual values using a debugger
is a nice feature.
Anyway, thanks for your feedback. It's good to know that.
>> If I understand the refining execution mode correctly it still creates
>> a new model copying the elements that have not been touched.
>> In my case I can have a huge model where duplicating it is not an option.
>>
>> What do you think?
>
> Using the "refining" mode seems to be a good idea in your case since you
> will only have to specify the rules concerning the elements to modify.
>
> Note that this "refining" mode is only supported, for the time being, by
> the ATL 2004 compiler (and not by the ATL 2006 one).
In my case I would like to modify a model backed by a JCR
( http://en.wikipedia.org/wiki/Content_repository_API_for_Java) for JCR
Management (http://www.eclipse.org/emft/projects/jcrm/). Such a
repository could be too big to get duplicated.
Best regards,
Sandro
|
|
|
Powered by
FUDForum. Page generated in 0.15343 seconds