Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] Generating output using two meta-models
[ATL] Generating output using two meta-models [message #80525] Wed, 30 April 2008 22:54
Eclipse UserFriend
Originally posted by: bures.dsrg.mff.cuni.cz

Hello,

I would like to know. Is it possible to generate a file in ATL that
contains elements from two not interrelated metamodels? In particular, I
would like to be able to generate the following file. It comes from GMF
when I choose to have the model and the layout stored in one file.


<?xml version="1.0" encoding="UTF-8"?>
<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:mcprimitive="http://mc/graph/primitive" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.1/notation">
<notation:Diagram xmi:id="_2tT5gRbCEd2UqtptVxX1SQ" type="Mcprimitive" element="_2tVHoBbCEd2UqtptVxX1SQ" measurementUnit="Pixel">
<children xmi:type="notation:Node" xmi:id="_28XpMBbCEd2UqtptVxX1SQ" type="1001" element="_2tVHoRbCEd2UqtptVxX1SQ">
<children xmi:type="notation:Node" xmi:id="_28Y3UBbCEd2UqtptVxX1SQ" type="4002"/>
<children xmi:type="notation:Node" xmi:id="_28ZeYBbCEd2UqtptVxX1SQ" type="5001">
<styles xmi:type="notation:SortingStyle" xmi:id="_28ZeYRbCEd2UqtptVxX1SQ"/>
<styles xmi:type="notation:FilteringStyle" xmi:id="_28ZeYhbCEd2UqtptVxX1SQ"/>
</children>
<styles xmi:type="notation:ShapeStyle" xmi:id="_28XpMRbCEd2UqtptVxX1SQ" fontName="Liberation Sans"/>
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_28XpMhbCEd2UqtptVxX1SQ" x="240" y="180" width="289" height="193"/>
</children>
<styles xmi:type="notation:DiagramStyle" xmi:id="_2tT5ghbCEd2UqtptVxX1SQ"/>
</notation:Diagram>
<mcprimitive:Canvas xmi:id="_2tVHoBbCEd2UqtptVxX1SQ">
<component xmi:type="mcprimitive:Component" xmi:id="_2tVHoRbCEd2UqtptVxX1SQ" name="PrimA">
<interfaces xmi:type="mcprimitive:Interface" xmi:id="_2tVHohbCEd2UqtptVxX1SQ" name="sadfjoqwjerojqwojsdaf"/>
<interfaces xmi:type="mcprimitive:Interface" xmi:id="_2tVHoxbCEd2UqtptVxX1SQ" name="sdfasdf"/>
</component>
</mcprimitive:Canvas>
</xmi:XMI>

Thank you,
Tomas
Previous Topic:Error ATL launch with Ant tasks
Next Topic:[ATL] launching a transformation programmatically using the UML2.1 metamodel
Goto Forum:
  


Current Time: Mon Oct 14 06:08:56 GMT 2019

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

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

Back to the top