source: trunk/org.modelica.uml/model/modelicaClassInternalDiagram.gmfmap @ 492

Last change on this file since 492 was 492, checked in by adrpo, 17 years ago
  • ModelicaML UML/SysML part of mdt
File size: 11.0 KB
RevLine 
[492]1<?xml version="1.0" encoding="UTF-8"?>
2<gmfmap:Mapping xmi:version="2.0"
3    xmlns:xmi="http://www.omg.org/XMI"
4    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5    xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
6    xmlns:gmfmap="http://www.eclipse.org/gmf/2005/mappings"
7    xmlns:gmftool="http://www.eclipse.org/gmf/2005/ToolDefinition">
8  <nodes>
9    <containmentFeature
10        href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Package/packagedElement"/>
11    <ownedChild>
12      <domainMetaElement
13          href="sysml.ecore#//ModelicaClass"/>
14      <labelMappings
15          editPattern="">
16        <diagramLabel
17            href="modelicaClassInternalDiagram.gmfgraph#ClassNameLabel"/>
18        <features
19            href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//NamedElement/name"/>
20      </labelMappings>
21      <tool
22          xsi:type="gmftool:CreationTool"
23          href="modelicaClassInternalDiagram.gmftool#//@palette/@tools.0/@tools.0"/>
24      <diagramNode
25          href="modelicaClassInternalDiagram.gmfgraph#ClassNodeInternal"/>
26      <children
27          compartment="//@nodes.0/@ownedChild/@compartments.0">
28        <containmentFeature
29            href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//StructuredClassifier/ownedAttribute"/>
30        <ownedChild>
31          <domainMetaElement
32              href="sysml.ecore#//ModelicaProperty"/>
33          <domainInitializer
34              xsi:type="gmfmap:FeatureSeqInitializer">
35            <initializers
36                body="VariabilityKind::none">
37              <feature
38                  xsi:type="ecore:EAttribute"
39                  href="sysml.ecore#//ModelicaProperty/variability"/>
40            </initializers>
41            <initializers
42                body="PropertyKind::parameter">
43              <feature
44                  xsi:type="ecore:EAttribute"
45                  href="sysml.ecore#//ModelicaProperty/propertyKind"/>
46            </initializers>
47            <initializers
48                body="AccessKind::public">
49              <feature
50                  xsi:type="ecore:EAttribute"
51                  href="sysml.ecore#//ModelicaProperty/access"/>
52            </initializers>
53          </domainInitializer>
54          <labelMappings>
55            <diagramLabel
56                href="modelicaClassInternalDiagram.gmfgraph#ClassPropertyLabel"/>
57            <features
58                href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//NamedElement/name"/>
59          </labelMappings>
60          <diagramNode
61              href="modelicaClassInternalDiagram.gmfgraph#ClassPropertyLabel"/>
62        </ownedChild>
63      </children>
64      <children
65          compartment="//@nodes.0/@ownedChild/@compartments.1">
66        <containmentFeature
67            href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//StructuredClassifier/ownedAttribute"/>
68        <ownedChild>
69          <domainMetaElement
70              href="sysml.ecore#//ModelicaProperty"/>
71          <domainInitializer
72              xsi:type="gmfmap:FeatureSeqInitializer">
73            <initializers
74                body="VariabilityKind::none">
75              <feature
76                  xsi:type="ecore:EAttribute"
77                  href="sysml.ecore#//ModelicaProperty/variability"/>
78            </initializers>
79            <initializers
80                body="PropertyKind::part">
81              <feature
82                  xsi:type="ecore:EAttribute"
83                  href="sysml.ecore#//ModelicaProperty/propertyKind"/>
84            </initializers>
85            <initializers
86                body="AccessKind::public">
87              <feature
88                  xsi:type="ecore:EAttribute"
89                  href="sysml.ecore#//ModelicaProperty/access"/>
90            </initializers>
91          </domainInitializer>
92          <labelMappings
93              editPattern="">
94            <diagramLabel
95                href="modelicaClassInternalDiagram.gmfgraph#ClassPropertyLabel"/>
96            <features
97                href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//NamedElement/name"/>
98          </labelMappings>
99          <diagramNode
100              href="modelicaClassInternalDiagram.gmfgraph#ClassPropertyLabel"/>
101        </ownedChild>
102      </children>
103      <children
104          compartment="//@nodes.0/@ownedChild/@compartments.2">
105        <containmentFeature
106            href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//StructuredClassifier/ownedAttribute"/>
107        <ownedChild>
108          <domainMetaElement
109              href="sysml.ecore#//ModelicaProperty"/>
110          <domainInitializer
111              xsi:type="gmfmap:FeatureSeqInitializer">
112            <initializers
113                body="VariabilityKind::none">
114              <feature
115                  xsi:type="ecore:EAttribute"
116                  href="sysml.ecore#//ModelicaProperty/variability"/>
117            </initializers>
118            <initializers
119                body="PropertyKind::variable">
120              <feature
121                  xsi:type="ecore:EAttribute"
122                  href="sysml.ecore#//ModelicaProperty/propertyKind"/>
123            </initializers>
124            <initializers
125                body="AccessKind::public">
126              <feature
127                  xsi:type="ecore:EAttribute"
128                  href="sysml.ecore#//ModelicaProperty/access"/>
129            </initializers>
130          </domainInitializer>
131          <labelMappings>
132            <diagramLabel
133                href="modelicaClassInternalDiagram.gmfgraph#ClassPropertyLabel"/>
134            <features
135                href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//NamedElement/name"/>
136          </labelMappings>
137          <diagramNode
138              href="modelicaClassInternalDiagram.gmfgraph#ClassPropertyLabel"/>
139        </ownedChild>
140      </children>
141      <children
142          compartment="//@nodes.0/@ownedChild/@compartments.3">
143        <containmentFeature
144            href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//StructuredClassifier/ownedAttribute"/>
145        <ownedChild>
146          <domainMetaElement
147              href="sysml.ecore#//ModelicaProperty"/>
148          <labelMappings>
149            <diagramLabel
150                href="modelicaClassInternalDiagram.gmfgraph#ModelicaPartLabel"/>
151            <features
152                href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//NamedElement/name"/>
153          </labelMappings>
154          <tool
155              xsi:type="gmftool:CreationTool"
156              href="modelicaClassInternalDiagram.gmftool#//@palette/@tools.1/@tools.0"/>
157          <diagramNode
158              href="modelicaClassInternalDiagram.gmfgraph#ModelicaPartNode"/>
159        </ownedChild>
160      </children>
161      <children
162          compartment="//@nodes.0/@ownedChild/@compartments.4"
163          referencedChild="//@nodes.0/@ownedChild">
164        <containmentFeature
165            href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Class/nestedClassifier"/>
166      </children>
167      <children
168          compartment="//@nodes.0/@ownedChild/@compartments.5">
169        <containmentFeature
170            href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//StructuredClassifier/ownedAttribute"/>
171        <ownedChild>
172          <domainMetaElement
173              href="sysml.ecore#//ModelicaEquationProperty"/>
174          <labelMappings
175              editPattern="">
176            <diagramLabel
177                href="modelicaClassInternalDiagram.gmfgraph#EquationLabel"/>
178            <features
179                href="sysml.ecore#//ModelicaEquationProperty/equation"/>
180          </labelMappings>
181          <diagramNode
182              href="modelicaClassInternalDiagram.gmfgraph#EquationLabel"/>
183        </ownedChild>
184      </children>
185      <compartments
186          children="//@nodes.0/@ownedChild/@children.0">
187        <compartment
188            href="modelicaClassInternalDiagram.gmfgraph#Parameters"/>
189      </compartments>
190      <compartments
191          children="//@nodes.0/@ownedChild/@children.1">
192        <compartment
193            href="modelicaClassInternalDiagram.gmfgraph#Parts"/>
194      </compartments>
195      <compartments
196          children="//@nodes.0/@ownedChild/@children.2">
197        <compartment
198            href="modelicaClassInternalDiagram.gmfgraph#Variables"/>
199      </compartments>
200      <compartments
201          children="//@nodes.0/@ownedChild/@children.3">
202        <compartment
203            href="modelicaClassInternalDiagram.gmfgraph#Connections"/>
204      </compartments>
205      <compartments
206          children="//@nodes.0/@ownedChild/@children.4">
207        <compartment
208            href="modelicaClassInternalDiagram.gmfgraph#Nested"/>
209      </compartments>
210      <compartments
211          children="//@nodes.0/@ownedChild/@children.5">
212        <compartment
213            href="modelicaClassInternalDiagram.gmfgraph#Equations"/>
214      </compartments>
215    </ownedChild>
216  </nodes>
217  <links>
218    <domainMetaElement
219        href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Generalization"/>
220    <containmentFeature
221        href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier/generalization"/>
222    <tool
223        xsi:type="gmftool:CreationTool"
224        href="modelicaClassInternalDiagram.gmftool#//@palette/@tools.2/@tools.1"/>
225    <diagramLink
226        href="../../../plugin/org.eclipse.gmf.graphdef/models/classDiagram.gmfgraph#SolidConnectionWDstClosedArrow"/>
227    <linkMetaFeature
228        xsi:type="ecore:EReference"
229        href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Generalization/general"/>
230  </links>
231  <links>
232    <domainMetaElement
233        href="sysml.ecore#//ModelicaComposition"/>
234    <labelMappings
235        editPattern="">
236      <diagramLabel
237          href="modelicaClassInternalDiagram.gmfgraph#LinkLabel"/>
238      <features
239          href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//NamedElement/name"/>
240    </labelMappings>
241    <containmentFeature
242        href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Package/packagedElement"/>
243    <tool
244        xsi:type="gmftool:CreationTool"
245        href="modelicaClassInternalDiagram.gmftool#//@palette/@tools.2/@tools.2"/>
246    <diagramLink
247        href="../../../plugin/org.eclipse.gmf.graphdef/models/classDiagram.gmfgraph#SolidConnectionWSrcDiamond"/>
248    <sourceMetaFeature
249        xsi:type="ecore:EReference"
250        href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Association/endType"/>
251    <linkMetaFeature
252        xsi:type="ecore:EReference"
253        href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Association/endType"/>
254  </links>
255  <diagram>
256    <diagramCanvas
257        href="modelicaClassInternalDiagram.gmfgraph#Modelica Class Internal diagram"/>
258    <domainModel
259        href="sysml.ecore#/"/>
260    <domainMetaElement
261        href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Model"/>
262    <palette
263        href="modelicaClassInternalDiagram.gmftool#//@palette"/>
264  </diagram>
265</gmfmap:Mapping>
Note: See TracBrowser for help on using the repository browser.