Xcos ecore: fix datatype definition
[scilab.git] / scilab / modules / xcos / model / xcos.ecore
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3     xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="xcos" nsURI="org.scilab.modules.xcos" nsPrefix="xcos">
4   <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
5     <details key="basePackage" value="org.scilab.modules"/>
6   </eAnnotations>
7   <eClassifiers xsi:type="ecore:EClass" name="Binary">
8     <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
9       <details key="documentation" value=" Encoded Scilab values"/>
10     </eAnnotations>
11     <eStructuralFeatures xsi:type="ecore:EAttribute" name="base64" unique="false"
12         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EString">
13       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
14         <details key="documentation" value=" RFC 2045 Base64 encoded double[] values (space separated)"/>
15       </eAnnotations>
16     </eStructuralFeatures>
17   </eClassifiers>
18   <eClassifiers xsi:type="ecore:EClass" name="Point">
19     <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
20       <details key="documentation" value=" A point is a position on the diagram"/>
21     </eAnnotations>
22     <eStructuralFeatures xsi:type="ecore:EAttribute" name="x" unique="false" eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EDouble">
23       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
24         <details key="documentation" value=" X coordinate"/>
25       </eAnnotations>
26     </eStructuralFeatures>
27     <eStructuralFeatures xsi:type="ecore:EAttribute" name="y" unique="false" eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EDouble">
28       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
29         <details key="documentation" value=" Y coordinate"/>
30       </eAnnotations>
31     </eStructuralFeatures>
32   </eClassifiers>
33   <eClassifiers xsi:type="ecore:EClass" name="Geometry">
34     <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
35       <details key="documentation" value=" Rectangular coordinates of the object"/>
36     </eAnnotations>
37     <eStructuralFeatures xsi:type="ecore:EAttribute" name="x" unique="false" eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EDouble">
38       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
39         <details key="documentation" value=" X coordinate"/>
40       </eAnnotations>
41     </eStructuralFeatures>
42     <eStructuralFeatures xsi:type="ecore:EAttribute" name="y" unique="false" eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EDouble">
43       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
44         <details key="documentation" value=" Y coordinate"/>
45       </eAnnotations>
46     </eStructuralFeatures>
47     <eStructuralFeatures xsi:type="ecore:EAttribute" name="height" unique="false"
48         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EDouble">
49       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
50         <details key="documentation" value=" Height of the object"/>
51       </eAnnotations>
52     </eStructuralFeatures>
53     <eStructuralFeatures xsi:type="ecore:EAttribute" name="width" unique="false" eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EDouble">
54       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
55         <details key="documentation" value=" Width of the object"/>
56       </eAnnotations>
57     </eStructuralFeatures>
58   </eClassifiers>
59   <eClassifiers xsi:type="ecore:EEnum" name="PortKind">
60     <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
61       <details key="documentation" value=" The kind of a port"/>
62     </eAnnotations>
63     <eLiterals name="in"/>
64     <eLiterals name="out"/>
65     <eLiterals name="ein"/>
66     <eLiterals name="eout"/>
67   </eClassifiers>
68   <eClassifiers xsi:type="ecore:EClass" name="Layer" abstract="true">
69     <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
70       <details key="documentation" value=" Shared definition for both a Diagram and a SuperBlock (eg. a Block)"/>
71     </eAnnotations>
72     <eStructuralFeatures xsi:type="ecore:EAttribute" name="context" unique="false"
73         upperBound="-1" eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EString">
74       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
75         <details key="documentation" value=" Scilab scripts added at current layer"/>
76       </eAnnotations>
77     </eStructuralFeatures>
78     <eStructuralFeatures xsi:type="ecore:EReference" name="child" upperBound="-1"
79         eType="#//BaseObject" containment="true" resolveProxies="false" eOpposite="#//BaseObject/parent">
80       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
81         <details key="documentation" value=" contained objects"/>
82       </eAnnotations>
83     </eStructuralFeatures>
84   </eClassifiers>
85   <eClassifiers xsi:type="ecore:EClass" name="BaseObject" abstract="true">
86     <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
87       <details key="documentation" value=" Shared definition for an object contained in a Layer"/>
88     </eAnnotations>
89     <eStructuralFeatures xsi:type="ecore:EAttribute" name="uid" unique="false" eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EString"
90         iD="true">
91       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
92         <details key="documentation" value=" Unique IDentifier : usually on the universally unique identifier (UUID) form"/>
93       </eAnnotations>
94     </eStructuralFeatures>
95     <eStructuralFeatures xsi:type="ecore:EReference" name="parentDiagram" lowerBound="1"
96         eType="#//Diagram">
97       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
98         <details key="documentation" value=" The diagram (to ease in memory representation)"/>
99       </eAnnotations>
100     </eStructuralFeatures>
101     <eStructuralFeatures xsi:type="ecore:EReference" name="parent" lowerBound="1"
102         eType="#//Layer" eOpposite="#//Layer/child">
103       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
104         <details key="documentation" value=" parent Layer to navigate back"/>
105       </eAnnotations>
106     </eStructuralFeatures>
107   </eClassifiers>
108   <eClassifiers xsi:type="ecore:EClass" name="Diagram" eSuperTypes="#//Layer">
109     <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
110       <details key="documentation" value=" A diagram is the top-level object of a model. It contains simulation parameters and the hierarchical data-flow and event-flow graphs."/>
111     </eAnnotations>
112     <eStructuralFeatures xsi:type="ecore:EAttribute" name="title" unique="false" eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EString">
113       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
114         <details key="documentation" value=" title of a diagram"/>
115       </eAnnotations>
116     </eStructuralFeatures>
117     <eStructuralFeatures xsi:type="ecore:EAttribute" name="path" unique="false" eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EString">
118       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
119         <details key="documentation" value=" Latest saved path"/>
120       </eAnnotations>
121     </eStructuralFeatures>
122     <eStructuralFeatures xsi:type="ecore:EReference" name="properties" eType="#//SimulationConfig"
123         containment="true" resolveProxies="false">
124       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
125         <details key="documentation" value=" Simulation settings"/>
126       </eAnnotations>
127     </eStructuralFeatures>
128     <eStructuralFeatures xsi:type="ecore:EAttribute" name="debugLevel" unique="false"
129         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EInt">
130       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
131         <details key="documentation" value=" Simulation debug level"/>
132       </eAnnotations>
133     </eStructuralFeatures>
134     <eStructuralFeatures xsi:type="ecore:EAttribute" name="version" unique="false"
135         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EString">
136       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
137         <details key="documentation" value=" Version of the diagram"/>
138       </eAnnotations>
139     </eStructuralFeatures>
140   </eClassifiers>
141   <eClassifiers xsi:type="ecore:EClass" name="SimulationConfig">
142     <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
143       <details key="documentation" value=" Simulation settings"/>
144     </eAnnotations>
145     <eStructuralFeatures xsi:type="ecore:EAttribute" name="finalTime" unique="false"
146         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EDouble">
147       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
148         <details key="documentation" value=" Simulation final time (starting at 0)"/>
149       </eAnnotations>
150     </eStructuralFeatures>
151     <eStructuralFeatures xsi:type="ecore:EAttribute" name="absoluteTime" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
152     <eStructuralFeatures xsi:type="ecore:EAttribute" name="absoluteTolerance" unique="false"
153         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EDouble"/>
154     <eStructuralFeatures xsi:type="ecore:EAttribute" name="relativeTolerance" unique="false"
155         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EDouble"/>
156     <eStructuralFeatures xsi:type="ecore:EAttribute" name="timeTolerance" unique="false"
157         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EDouble"/>
158     <eStructuralFeatures xsi:type="ecore:EAttribute" name="deltaT" unique="false"
159         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EDouble"/>
160     <eStructuralFeatures xsi:type="ecore:EAttribute" name="realtimeScale" unique="false"
161         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EDouble"/>
162     <eStructuralFeatures xsi:type="ecore:EAttribute" name="solver" unique="false"
163         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EDouble"/>
164     <eStructuralFeatures xsi:type="ecore:EAttribute" name="deltaH" unique="false"
165         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EDouble"/>
166   </eClassifiers>
167   <eClassifiers xsi:type="ecore:EClass" name="Block" eSuperTypes="#//BaseObject #//Layer">
168     <eStructuralFeatures xsi:type="ecore:EReference" name="geometry" eType="#//Geometry"
169         containment="true" resolveProxies="false"/>
170     <eStructuralFeatures xsi:type="ecore:EAttribute" name="description" unique="false"
171         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
172     <eStructuralFeatures xsi:type="ecore:EAttribute" name="label" unique="false" eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
173     <eStructuralFeatures xsi:type="ecore:EAttribute" name="style" unique="false" eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
174     <eStructuralFeatures xsi:type="ecore:EAttribute" name="interfaceFunction" unique="false"
175         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
176     <eStructuralFeatures xsi:type="ecore:EAttribute" name="expression" unique="false"
177         upperBound="-1" eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
178     <eStructuralFeatures xsi:type="ecore:EReference" name="exprs" eType="#//Binary"
179         containment="true" resolveProxies="false"/>
180     <eStructuralFeatures xsi:type="ecore:EAttribute" name="nzcross" unique="false"
181         upperBound="-1" eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EInt"/>
182     <eStructuralFeatures xsi:type="ecore:EAttribute" name="nmode" unique="false" upperBound="-1"
183         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EInt"/>
184     <eStructuralFeatures xsi:type="ecore:EReference" name="equations" eType="#//Binary"
185         containment="true" resolveProxies="false"/>
186     <eStructuralFeatures xsi:type="ecore:EAttribute" name="functionName" unique="false"
187         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
188     <eStructuralFeatures xsi:type="ecore:EAttribute" name="functionAPI" unique="false"
189         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EInt"/>
190     <eStructuralFeatures xsi:type="ecore:EAttribute" name="dependsOnU" unique="false"
191         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EBoolean"/>
192     <eStructuralFeatures xsi:type="ecore:EAttribute" name="dependsOnT" unique="false"
193         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EBoolean"/>
194     <eStructuralFeatures xsi:type="ecore:EAttribute" name="blocktype" unique="false"
195         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EChar"/>
196     <eStructuralFeatures xsi:type="ecore:EReference" name="in" upperBound="-1" eType="#//Port"
197         containment="true" resolveProxies="false"/>
198     <eStructuralFeatures xsi:type="ecore:EReference" name="out" upperBound="-1" eType="#//Port"
199         containment="true" resolveProxies="false"/>
200     <eStructuralFeatures xsi:type="ecore:EReference" name="ein" upperBound="-1" eType="#//Port"
201         containment="true" resolveProxies="false"/>
202     <eStructuralFeatures xsi:type="ecore:EReference" name="eout" upperBound="-1" eType="#//Port"
203         containment="true" resolveProxies="false"/>
204     <eStructuralFeatures xsi:type="ecore:EAttribute" name="rpar" unique="false" upperBound="-1"
205         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EDouble"/>
206     <eStructuralFeatures xsi:type="ecore:EAttribute" name="ipar" unique="false" upperBound="-1"
207         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EInt"/>
208     <eStructuralFeatures xsi:type="ecore:EReference" name="opar" eType="#//Binary"
209         containment="true" resolveProxies="false"/>
210     <eStructuralFeatures xsi:type="ecore:EAttribute" name="state" unique="false" upperBound="-1"
211         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EDouble"/>
212     <eStructuralFeatures xsi:type="ecore:EAttribute" name="dstate" unique="false"
213         upperBound="-1" eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EDouble"/>
214     <eStructuralFeatures xsi:type="ecore:EReference" name="odstate" eType="#//Binary"
215         containment="true" resolveProxies="false"/>
216   </eClassifiers>
217   <eClassifiers xsi:type="ecore:EClass" name="Port">
218     <eStructuralFeatures xsi:type="ecore:EAttribute" name="uid" unique="false" eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EString"
219         iD="true"/>
220     <eStructuralFeatures xsi:type="ecore:EAttribute" name="firing" unique="false"
221         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EDouble"/>
222     <eStructuralFeatures xsi:type="ecore:EReference" name="datatype" eType="#//Datatype"/>
223     <eStructuralFeatures xsi:type="ecore:EReference" name="sourceBlock" eType="#//Block"/>
224     <eStructuralFeatures xsi:type="ecore:EAttribute" name="kind" unique="false" eType="#//PortKind"/>
225     <eStructuralFeatures xsi:type="ecore:EAttribute" name="implicit" unique="false"
226         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EBoolean"/>
227     <eStructuralFeatures xsi:type="ecore:EReference" name="connectedSignal" eType="#//Link"/>
228     <eStructuralFeatures xsi:type="ecore:EAttribute" name="style" unique="false" eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
229     <eStructuralFeatures xsi:type="ecore:EAttribute" name="label" unique="false" eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
230   </eClassifiers>
231   <eClassifiers xsi:type="ecore:EClass" name="Link" eSuperTypes="#//BaseObject">
232     <eStructuralFeatures xsi:type="ecore:EReference" name="sourcePort" eType="#//Port"/>
233     <eStructuralFeatures xsi:type="ecore:EReference" name="destinationPort" eType="#//Port"/>
234     <eStructuralFeatures xsi:type="ecore:EReference" name="geometry" eType="#//Geometry"
235         containment="true" resolveProxies="false"/>
236     <eStructuralFeatures xsi:type="ecore:EReference" name="controlPoint" upperBound="-1"
237         eType="#//Point" containment="true" resolveProxies="false"/>
238     <eStructuralFeatures xsi:type="ecore:EAttribute" name="style" unique="false" eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
239     <eStructuralFeatures xsi:type="ecore:EAttribute" name="label" unique="false" eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
240     <eStructuralFeatures xsi:type="ecore:EAttribute" name="lineWidth" unique="false"
241         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EDouble"/>
242     <eStructuralFeatures xsi:type="ecore:EAttribute" name="lineHeight" unique="false"
243         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EDouble"/>
244     <eStructuralFeatures xsi:type="ecore:EAttribute" name="color" unique="false" eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EInt"/>
245   </eClassifiers>
246   <eClassifiers xsi:type="ecore:EClass" name="Annotation" eSuperTypes="#//BaseObject">
247     <eStructuralFeatures xsi:type="ecore:EReference" name="geometry" eType="#//Geometry"
248         containment="true" resolveProxies="false"/>
249     <eStructuralFeatures xsi:type="ecore:EAttribute" name="description" unique="false"
250         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
251     <eStructuralFeatures xsi:type="ecore:EAttribute" name="font" unique="false" eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
252     <eStructuralFeatures xsi:type="ecore:EAttribute" name="fontSize" unique="false"
253         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
254     <eStructuralFeatures xsi:type="ecore:EAttribute" name="style" unique="false" eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
255   </eClassifiers>
256   <eClassifiers xsi:type="ecore:EClass" name="CompiledRepresentation">
257     <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
258       <details key="documentation" value="***************************************************************************************&#xA;An executable representation can be exported only if the diagram has been &quot;compiled&quot; *&#xA;**************************************************************************************"/>
259     </eAnnotations>
260   </eClassifiers>
261   <eClassifiers xsi:type="ecore:EClass" name="Datatype">
262     <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
263       <details key="documentation" value="Datatype of any propagated value"/>
264     </eAnnotations>
265     <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt">
266       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
267         <details key="documentation" value="type identifier : 1 for double, 2 for complex, 3 for int32, 4 for int16, 5 for int8, 6 for uint32, 7 for uint16, 8 for uint8"/>
268       </eAnnotations>
269     </eStructuralFeatures>
270     <eStructuralFeatures xsi:type="ecore:EAttribute" name="rows" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
271     <eStructuralFeatures xsi:type="ecore:EAttribute" name="columns" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
272   </eClassifiers>
273 </ecore:EPackage>