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

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