source: trunk/org.modelica.uml/model/modelicaClassDiagram.gmfmap @ 1704

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