96571a62502f6903fc60d5d25a3257fd09e806bd
[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="absoluteTolerance" unique="false"
152         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EDouble"/>
153     <eStructuralFeatures xsi:type="ecore:EAttribute" name="relativeTolerance" unique="false"
154         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EDouble"/>
155     <eStructuralFeatures xsi:type="ecore:EAttribute" name="timeTolerance" unique="false"
156         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EDouble"/>
157     <eStructuralFeatures xsi:type="ecore:EAttribute" name="deltaT" unique="false"
158         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EDouble"/>
159     <eStructuralFeatures xsi:type="ecore:EAttribute" name="realtimeScale" unique="false"
160         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EDouble"/>
161     <eStructuralFeatures xsi:type="ecore:EAttribute" name="solver" unique="false"
162         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EDouble"/>
163     <eStructuralFeatures xsi:type="ecore:EAttribute" name="deltaH" unique="false"
164         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EDouble"/>
165   </eClassifiers>
166   <eClassifiers xsi:type="ecore:EClass" name="Block" eSuperTypes="#//BaseObject #//Layer">
167     <eStructuralFeatures xsi:type="ecore:EReference" name="geometry" eType="#//Geometry"
168         containment="true" resolveProxies="false"/>
169     <eStructuralFeatures xsi:type="ecore:EAttribute" name="description" unique="false"
170         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
171     <eStructuralFeatures xsi:type="ecore:EAttribute" name="label" unique="false" eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
172     <eStructuralFeatures xsi:type="ecore:EAttribute" name="style" unique="false" eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
173     <eStructuralFeatures xsi:type="ecore:EAttribute" name="interfaceFunction" unique="false"
174         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
175     <eStructuralFeatures xsi:type="ecore:EAttribute" name="expression" unique="false"
176         upperBound="-1" eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
177     <eStructuralFeatures xsi:type="ecore:EReference" name="exprs" eType="#//Binary"
178         containment="true" resolveProxies="false"/>
179     <eStructuralFeatures xsi:type="ecore:EAttribute" name="nzcross" unique="false"
180         upperBound="-1" eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EInt"/>
181     <eStructuralFeatures xsi:type="ecore:EAttribute" name="nmode" unique="false" upperBound="-1"
182         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EInt"/>
183     <eStructuralFeatures xsi:type="ecore:EReference" name="equations" eType="#//Binary"
184         containment="true" resolveProxies="false"/>
185     <eStructuralFeatures xsi:type="ecore:EAttribute" name="functionName" unique="false"
186         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
187     <eStructuralFeatures xsi:type="ecore:EAttribute" name="functionAPI" unique="false"
188         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EInt"/>
189     <eStructuralFeatures xsi:type="ecore:EAttribute" name="dependsOnU" unique="false"
190         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EBoolean"/>
191     <eStructuralFeatures xsi:type="ecore:EAttribute" name="dependsOnT" unique="false"
192         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EBoolean"/>
193     <eStructuralFeatures xsi:type="ecore:EAttribute" name="blocktype" unique="false"
194         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EChar"/>
195     <eStructuralFeatures xsi:type="ecore:EReference" name="in" upperBound="-1" eType="#//Port"
196         containment="true" resolveProxies="false"/>
197     <eStructuralFeatures xsi:type="ecore:EReference" name="out" upperBound="-1" eType="#//Port"
198         containment="true" resolveProxies="false"/>
199     <eStructuralFeatures xsi:type="ecore:EReference" name="ein" upperBound="-1" eType="#//Port"
200         containment="true" resolveProxies="false"/>
201     <eStructuralFeatures xsi:type="ecore:EReference" name="eout" upperBound="-1" eType="#//Port"
202         containment="true" resolveProxies="false"/>
203     <eStructuralFeatures xsi:type="ecore:EAttribute" name="rpar" unique="false" upperBound="-1"
204         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EDouble"/>
205     <eStructuralFeatures xsi:type="ecore:EAttribute" name="ipar" unique="false" upperBound="-1"
206         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EInt"/>
207     <eStructuralFeatures xsi:type="ecore:EReference" name="opar" eType="#//Binary"
208         containment="true" resolveProxies="false"/>
209     <eStructuralFeatures xsi:type="ecore:EAttribute" name="state" unique="false" upperBound="-1"
210         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EDouble"/>
211     <eStructuralFeatures xsi:type="ecore:EAttribute" name="dstate" unique="false"
212         upperBound="-1" eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EDouble"/>
213     <eStructuralFeatures xsi:type="ecore:EReference" name="odstate" eType="#//Binary"
214         containment="true" resolveProxies="false"/>
215   </eClassifiers>
216   <eClassifiers xsi:type="ecore:EClass" name="Port">
217     <eStructuralFeatures xsi:type="ecore:EAttribute" name="uid" unique="false" eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EString"
218         iD="true"/>
219     <eStructuralFeatures xsi:type="ecore:EAttribute" name="datatype" unique="false"
220         upperBound="-1" eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EInt"/>
221     <eStructuralFeatures xsi:type="ecore:EAttribute" name="firing" unique="false"
222         eType="ecore:EDataType ../../../org.eclipse.emf.ecore/model/Ecore.ecore#//EDouble"/>
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 </ecore:EPackage>