1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
2 | <ecore:EPackage xmi:version="2.0" |
---|
3 | xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
---|
4 | xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="GraphicalAnnotation" |
---|
5 | nsURI="http://www.openmodelica.org/openmodelica.annotation.graphical/3.1" nsPrefix="GraphicalAnnotation"> |
---|
6 | <eClassifiers xsi:type="ecore:EEnum" name="FillPattern"> |
---|
7 | <eLiterals name="None"/> |
---|
8 | <eLiterals name="Solid" value="1"/> |
---|
9 | <eLiterals name="Horizontal" value="2"/> |
---|
10 | <eLiterals name="Vertical" value="3"/> |
---|
11 | <eLiterals name="Cross" value="4"/> |
---|
12 | <eLiterals name="Forward" value="5"/> |
---|
13 | <eLiterals name="Backward" value="6"/> |
---|
14 | <eLiterals name="CrossDiagonal" value="7"/> |
---|
15 | <eLiterals name="HorizontalCylinder" value="8"/> |
---|
16 | <eLiterals name="VerticalCylinder" value="9"/> |
---|
17 | <eLiterals name="Sphere" value="10"/> |
---|
18 | </eClassifiers> |
---|
19 | <eClassifiers xsi:type="ecore:EEnum" name="LinePattern"> |
---|
20 | <eLiterals name="None"/> |
---|
21 | <eLiterals name="Solid" value="1"/> |
---|
22 | <eLiterals name="Dash" value="2"/> |
---|
23 | <eLiterals name="Dot" value="3"/> |
---|
24 | <eLiterals name="DashDot" value="4"/> |
---|
25 | <eLiterals name="DashDotDot" value="5"/> |
---|
26 | </eClassifiers> |
---|
27 | <eClassifiers xsi:type="ecore:EEnum" name="BorderPattern"> |
---|
28 | <eLiterals name="None"/> |
---|
29 | <eLiterals name="Raised" value="1"/> |
---|
30 | <eLiterals name="Sunken" value="2"/> |
---|
31 | <eLiterals name="Engraved" value="3"/> |
---|
32 | </eClassifiers> |
---|
33 | <eClassifiers xsi:type="ecore:EEnum" name="SmoothType"> |
---|
34 | <eLiterals name="None"/> |
---|
35 | <eLiterals name="Bezier" value="1"/> |
---|
36 | </eClassifiers> |
---|
37 | <eClassifiers xsi:type="ecore:EEnum" name="ArrowStyle"> |
---|
38 | <eLiterals name="None"/> |
---|
39 | <eLiterals name="Open" value="1"/> |
---|
40 | <eLiterals name="Filled" value="2"/> |
---|
41 | <eLiterals name="Half" value="3"/> |
---|
42 | </eClassifiers> |
---|
43 | <eClassifiers xsi:type="ecore:EEnum" name="TextStyle"> |
---|
44 | <eLiterals name="Normal"/> |
---|
45 | <eLiterals name="Bold" value="1"/> |
---|
46 | <eLiterals name="Italic" value="2"/> |
---|
47 | <eLiterals name="Underline" value="3"/> |
---|
48 | </eClassifiers> |
---|
49 | <eClassifiers xsi:type="ecore:EEnum" name="TextAlignment"> |
---|
50 | <eLiterals name="Left"/> |
---|
51 | <eLiterals name="Center" value="1"/> |
---|
52 | <eLiterals name="Right" value="2"/> |
---|
53 | </eClassifiers> |
---|
54 | <eClassifiers xsi:type="ecore:EClass" name="IModelicaGraphicalPrimitive" abstract="true" |
---|
55 | interface="true"/> |
---|
56 | <eClassifiers xsi:type="ecore:EClass" name="Icon"> |
---|
57 | <eStructuralFeatures xsi:type="ecore:EReference" name="graphics" upperBound="-1" |
---|
58 | eType="#//GraphicalPrimitive" containment="true"/> |
---|
59 | <eStructuralFeatures xsi:type="ecore:EReference" name="coordinateSystem" lowerBound="1" |
---|
60 | eType="#//CoordinateSystem" containment="true"/> |
---|
61 | </eClassifiers> |
---|
62 | <eClassifiers xsi:type="ecore:EClass" name="Diagram"> |
---|
63 | <eStructuralFeatures xsi:type="ecore:EReference" name="graphics" upperBound="-1" |
---|
64 | eType="#//GraphicalPrimitive" containment="true"/> |
---|
65 | <eStructuralFeatures xsi:type="ecore:EReference" name="coordinateSystem" lowerBound="1" |
---|
66 | eType="#//CoordinateSystem" containment="true"/> |
---|
67 | </eClassifiers> |
---|
68 | <eClassifiers xsi:type="ecore:EClass" name="Point"> |
---|
69 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="x" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" |
---|
70 | defaultValueLiteral="0"/> |
---|
71 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="y" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" |
---|
72 | defaultValueLiteral="0"/> |
---|
73 | </eClassifiers> |
---|
74 | <eClassifiers xsi:type="ecore:EClass" name="Extent"> |
---|
75 | <eStructuralFeatures xsi:type="ecore:EReference" name="p1" lowerBound="1" eType="#//Point" |
---|
76 | containment="true"/> |
---|
77 | <eStructuralFeatures xsi:type="ecore:EReference" name="p2" lowerBound="1" eType="#//Point" |
---|
78 | containment="true"/> |
---|
79 | </eClassifiers> |
---|
80 | <eClassifiers xsi:type="ecore:EClass" name="Color"> |
---|
81 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="red" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt" |
---|
82 | defaultValueLiteral="0"/> |
---|
83 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="green" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt" |
---|
84 | defaultValueLiteral="0"/> |
---|
85 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="blue" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt" |
---|
86 | defaultValueLiteral="0"/> |
---|
87 | </eClassifiers> |
---|
88 | <eClassifiers xsi:type="ecore:EClass" name="Transformation"> |
---|
89 | <eStructuralFeatures xsi:type="ecore:EReference" name="origin" eType="#//Point" |
---|
90 | containment="true"/> |
---|
91 | <eStructuralFeatures xsi:type="ecore:EReference" name="extent" eType="#//Extent"/> |
---|
92 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="rotation" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> |
---|
93 | </eClassifiers> |
---|
94 | <eClassifiers xsi:type="ecore:EClass" name="Placement"> |
---|
95 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="visible" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" |
---|
96 | defaultValueLiteral="true"/> |
---|
97 | <eStructuralFeatures xsi:type="ecore:EReference" name="transformation" eType="#//Transformation"/> |
---|
98 | <eStructuralFeatures xsi:type="ecore:EReference" name="iconTransformation" eType="#//Transformation"/> |
---|
99 | </eClassifiers> |
---|
100 | <eClassifiers xsi:type="ecore:EClass" name="CoordinateSystem"> |
---|
101 | <eStructuralFeatures xsi:type="ecore:EReference" name="extent" lowerBound="1" |
---|
102 | eType="#//Extent" containment="true"/> |
---|
103 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="preserveAspectRatio" lowerBound="1" |
---|
104 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> |
---|
105 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="initialScale" lowerBound="1" |
---|
106 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" defaultValueLiteral="0.1"/> |
---|
107 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="gridYSpace" lowerBound="1" |
---|
108 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> |
---|
109 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="gridXSpace" lowerBound="1" |
---|
110 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> |
---|
111 | </eClassifiers> |
---|
112 | <eClassifiers xsi:type="ecore:EClass" name="GraphicalPrimitive" eSuperTypes="#//IModelicaGraphicalPrimitive"> |
---|
113 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="visible" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" |
---|
114 | defaultValueLiteral="true"/> |
---|
115 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="rotation" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" |
---|
116 | defaultValueLiteral="0"/> |
---|
117 | <eStructuralFeatures xsi:type="ecore:EReference" name="originPoint" lowerBound="1" |
---|
118 | eType="#//Point" containment="true"/> |
---|
119 | </eClassifiers> |
---|
120 | <eClassifiers xsi:type="ecore:EClass" name="FilledShape" abstract="true" eSuperTypes="#//GraphicalPrimitive"> |
---|
121 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="linePattern" lowerBound="1" |
---|
122 | eType="#//LinePattern"/> |
---|
123 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="fillPattern" lowerBound="1" |
---|
124 | eType="#//FillPattern"/> |
---|
125 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="lineThickness" lowerBound="1" |
---|
126 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> |
---|
127 | <eStructuralFeatures xsi:type="ecore:EReference" name="lineColor" lowerBound="1" |
---|
128 | eType="#//Color" containment="true"/> |
---|
129 | <eStructuralFeatures xsi:type="ecore:EReference" name="fillColor" lowerBound="1" |
---|
130 | eType="#//Color" containment="true"/> |
---|
131 | </eClassifiers> |
---|
132 | <eClassifiers xsi:type="ecore:EClass" name="Line" eSuperTypes="#//GraphicalPrimitive"> |
---|
133 | <eStructuralFeatures xsi:type="ecore:EReference" name="color" lowerBound="1" eType="#//Color" |
---|
134 | containment="true"/> |
---|
135 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="pattern" lowerBound="1" |
---|
136 | eType="#//LinePattern" defaultValueLiteral="Solid"/> |
---|
137 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="thickness" lowerBound="1" |
---|
138 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" defaultValueLiteral="0.25"/> |
---|
139 | <eStructuralFeatures xsi:type="ecore:EReference" name="points" upperBound="-1" |
---|
140 | eType="#//Point" containment="true"/> |
---|
141 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="arrowStyle1" lowerBound="1" |
---|
142 | eType="#//ArrowStyle" defaultValueLiteral="None"/> |
---|
143 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="arrowStyle2" lowerBound="1" |
---|
144 | eType="#//ArrowStyle" defaultValueLiteral="None"/> |
---|
145 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="arrowSize" lowerBound="1" |
---|
146 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" defaultValueLiteral="3"/> |
---|
147 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="smoothness" lowerBound="1" |
---|
148 | eType="#//SmoothType" defaultValueLiteral="None"/> |
---|
149 | </eClassifiers> |
---|
150 | <eClassifiers xsi:type="ecore:EClass" name="Polygon" eSuperTypes="#//FilledShape"> |
---|
151 | <eStructuralFeatures xsi:type="ecore:EReference" name="points" upperBound="-1" |
---|
152 | eType="#//Point" containment="true"/> |
---|
153 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="smoothness" eType="#//SmoothType" |
---|
154 | defaultValueLiteral="None"/> |
---|
155 | </eClassifiers> |
---|
156 | <eClassifiers xsi:type="ecore:EClass" name="Rectangle" eSuperTypes="#//FilledShape"> |
---|
157 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="cornerRadius" lowerBound="1" |
---|
158 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" defaultValueLiteral="0.0"/> |
---|
159 | <eStructuralFeatures xsi:type="ecore:EReference" name="extent" lowerBound="1" |
---|
160 | eType="#//Extent" containment="true"/> |
---|
161 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="borderPattern" lowerBound="1" |
---|
162 | eType="#//BorderPattern" defaultValueLiteral="None"/> |
---|
163 | </eClassifiers> |
---|
164 | <eClassifiers xsi:type="ecore:EClass" name="Ellipse" eSuperTypes="#//FilledShape"> |
---|
165 | <eStructuralFeatures xsi:type="ecore:EReference" name="extent" lowerBound="1" |
---|
166 | eType="#//Extent" containment="true"/> |
---|
167 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="startAngle" lowerBound="1" |
---|
168 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" defaultValueLiteral="0"/> |
---|
169 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="endAngle" lowerBound="1" |
---|
170 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" defaultValueLiteral="360.0"/> |
---|
171 | </eClassifiers> |
---|
172 | <eClassifiers xsi:type="ecore:EClass" name="Text" eSuperTypes="#//GraphicalPrimitive"> |
---|
173 | <eStructuralFeatures xsi:type="ecore:EReference" name="extent" lowerBound="1" |
---|
174 | eType="#//Extent" containment="true"/> |
---|
175 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="textString" lowerBound="1" |
---|
176 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
---|
177 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="fontSize" lowerBound="1" |
---|
178 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> |
---|
179 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="fontName" lowerBound="1" |
---|
180 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
---|
181 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="textStyle" lowerBound="1" |
---|
182 | eType="#//TextStyle" defaultValueLiteral="Normal"/> |
---|
183 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="horizontalAlignment" lowerBound="1" |
---|
184 | eType="#//TextAlignment" defaultValueLiteral="Center"/> |
---|
185 | </eClassifiers> |
---|
186 | <eClassifiers xsi:type="ecore:EClass" name="Bitmap" eSuperTypes="#//GraphicalPrimitive"> |
---|
187 | <eStructuralFeatures xsi:type="ecore:EReference" name="extent" lowerBound="1" |
---|
188 | eType="#//Extent" containment="true"/> |
---|
189 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="fileName" lowerBound="1" |
---|
190 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
---|
191 | </eClassifiers> |
---|
192 | </ecore:EPackage> |
---|