Weaving model manually created [message #531976] |
Thu, 06 May 2010 12:13  |
Eclipse User |
|
|
|
Hello!
My Source-Metamodel and Goal-Metamodel are completely different. So, it makes no sence to use the given transformations (such as name equality etc).
Is there any possibility to create a weaving model manually?
Just making links from MM1 to MM2 "per hand"?
And if yes - how to do that?
I hope, my question is understandable.
Thank you.
Alexey
|
|
|
Re: Weaving model manually created [message #532487 is a reply to message #531976] |
Mon, 10 May 2010 04:56   |
Eclipse User |
|
|
|
Hi,
The matching transformations are used when the metamodels have some degree of explicit similarity, i.e., the name equality, typing, tree structure, etc.
You can create your links manually with the use interface. You should first select the appropriate metamodel extension, and create the links between the left and right elements. There are two extensions that you might use;
1) The extension from the metamodel comparison use case. You can create "ElementLink"s between classes, and "AttributeLink"s between attributes, references, and so on.
2) There is another simple extension that helps to create links targeted for generating ATL. You can find more information about this extension on the following link:
http://wiki.eclipse.org/index.php/AMW#Graphical_development_ of_ATL_transformations
Regards,
Marcos.
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02878 seconds