[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.modeling.m2m] [ATL] Generating output using two meta-models
|
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