2 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3 xmlns:xse="http://www.codesynthesis.com/xmlns/xml-schema-extension"
4 xmlns:sup="http://www.salome.org/supervision/graph"
5 targetNamespace="http://www.salome.org/supervision/graph">
7 <xsd:complexType name="PresentationType">
8 <xsd:attribute name="name" type="xsd:string" use="required"/>
9 <xsd:attribute name="x" type="xsd:string" use="required"/>
10 <xsd:attribute name="y" type="xsd:string" use="required"/>
11 <xsd:attribute name="z" type="xsd:string" use="required"/>
12 <xsd:attribute name="width" type="xsd:string" use="required"/>
13 <xsd:attribute name="height" type="xsd:string" use="required"/>
16 <xsd:complexType name="TypeType">
17 <xsd:attribute name="name" type="xsd:string" use="required"/>
18 <xsd:attribute name="kind" type="xsd:string" use="required"/>
21 <xsd:complexType name="SequenceType">
22 <xsd:attribute name="name" type="xsd:string" use="required"/>
23 <xsd:attribute name="content" type="xsd:string" use="required"/>
26 <xsd:complexType name="ObjrefType">
28 <xsd:element name="base" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
30 <xsd:attribute name="name" type="xsd:string" use="required"/>
31 <xsd:attribute name="id" type="xsd:string" />
34 <xsd:complexType name="PropertyType">
35 <xsd:attribute name="name" type="xsd:string" use="required"/>
36 <xsd:attribute name="value" type="xsd:string" use="required"/>
39 <xsd:complexType name="PropertiesType">
41 <xsd:element name="property" type="sup:PropertyType" minOccurs="0" maxOccurs="unbounded"/>
45 <xsd:complexType name="InPortType">
47 <xsd:element name="properties" type="sup:PropertiesType" minOccurs="0"/>
49 <xsd:attribute name="name" type="xsd:string" use="required"/>
50 <xsd:attribute name="type" type="xsd:string" use="required"/>
53 <xsd:complexType name="OutPortType">
55 <xsd:element name="properties" type="sup:PropertiesType" minOccurs="0"/>
57 <xsd:attribute name="name" type="xsd:string" use="required"/>
58 <xsd:attribute name="type" type="xsd:string" use="required"/>
61 <xsd:simpleType name="Kind">
62 <xsd:restriction base="xsd:string">
63 <xsd:enumeration value="function"/>
64 <xsd:enumeration value="script"/>
68 <xsd:complexType name="CodeType">
70 <xsd:element name="code" type="xsd:string" maxOccurs="unbounded" />
74 <xsd:complexType name="FuncType">
76 <xsd:element name="code" type="xsd:string" maxOccurs="unbounded" />
78 <xsd:attribute name="name" type="xsd:string" use="required"/>
81 <xsd:complexType name="NodeType">
82 <xsd:attribute name="name" type="xsd:string" use="required"/>
83 <xsd:attribute name="type" type="xsd:string" use="required"/>
86 <xsd:complexType name="InlineNodeType">
88 <xsd:element name="kind" type="xsd:string" minOccurs="0" />
90 <xsd:element name="script" type="sup:CodeType" />
91 <xsd:element name="function" type="sup:FuncType" />
93 <xsd:element name="inport" type="sup:InPortType" minOccurs="0" maxOccurs="unbounded" />
94 <xsd:element name="outport" type="sup:OutPortType" minOccurs="0" maxOccurs="unbounded" />
96 <xsd:attribute name="name" type="xsd:string" use="required"/>
97 <xsd:attribute name="state" type="xsd:string" />
100 <xsd:complexType name="ServiceNodeType">
102 <xsd:element name="kind" type="xsd:string" minOccurs="0" />
104 <xsd:element name="ref" type="xsd:string"/>
105 <xsd:element name="component" type="xsd:string"/>
106 <xsd:element name="node" type="xsd:string"/>
108 <xsd:element name="method" type="xsd:string"/>
109 <xsd:element name="inport" type="sup:InPortType" minOccurs="0" maxOccurs="unbounded" />
110 <xsd:element name="outport" type="sup:OutPortType" minOccurs="0" maxOccurs="unbounded" />
111 <xsd:element name="instream" type="sup:InPortType" minOccurs="0" maxOccurs="unbounded" />
112 <xsd:element name="outstream" type="sup:OutPortType" minOccurs="0" maxOccurs="unbounded" />
114 <xsd:attribute name="name" type="xsd:string" use="required"/>
115 <xsd:attribute name="state" type="xsd:string" />
118 <xsd:complexType name="LinkType">
120 <xsd:element name="fromnode" type="xsd:string" />
121 <xsd:element name="fromport" type="xsd:string" />
122 <xsd:element name="tonode" type="xsd:string" />
123 <xsd:element name="toport" type="xsd:string" />
127 <xsd:complexType name="ControlType">
129 <xsd:element name="fromnode" type="xsd:string" />
130 <xsd:element name="tonode" type="xsd:string" />
134 <xsd:complexType name="StreamType">
136 <xsd:element name="fromnode" type="xsd:string" />
137 <xsd:element name="fromport" type="xsd:string" />
138 <xsd:element name="tonode" type="xsd:string" />
139 <xsd:element name="toport" type="xsd:string" />
143 <xsd:complexType name="ValueType">
145 <xsd:element name="int" type="xsd:int"/>
146 <xsd:element name="double" type="xsd:decimal"/>
147 <xsd:element name="string" type="xsd:string"/>
148 <xsd:element name="boolean" type="xsd:boolean"/>
149 <xsd:element name="objref" type="xsd:string"/>
150 <xsd:element name="array" type="sup:ArrayType"/>
154 <xsd:complexType name="ArrayType">
156 <xsd:element name="data">
159 <xsd:element name="value" type="sup:ValueType"
160 minOccurs="0" maxOccurs="unbounded"/>
167 <xsd:complexType name="ParameterType">
169 <xsd:element name="tonode" type="xsd:string" />
170 <xsd:element name="toport" type="xsd:string" />
171 <xsd:element name="value" type="sup:ValueType" />
175 <xsd:complexType name="DefaultCaseType">
178 <xsd:element name="inline" type="sup:InlineNodeType" />
179 <xsd:element name="service" type="sup:ServiceNodeType" />
180 <xsd:element name="forloop" type="sup:ForLoopType" />
181 <xsd:element name="while" type="sup:WhileType" />
182 <xsd:element name="switch" type="sup:SwitchType" />
183 <xsd:element name="bloc" type="sup:BlocType" />
188 <xsd:complexType name="CaseType">
190 <xsd:extension base="sup:DefaultCaseType">
191 <xsd:attribute name="id" type="xsd:int" />
193 </xsd:complexContent>
196 <xsd:complexType name="SwitchType">
198 <xsd:element name="case" type="sup:CaseType" minOccurs="0" maxOccurs="unbounded" />
199 <xsd:element name="default" type="sup:DefaultCaseType" minOccurs="0" />
201 <xsd:attribute name="name" type="xsd:string" use="required"/>
202 <xsd:attribute name="state" type="xsd:string" />
203 <xsd:attribute name="select" type="xsd:int" />
206 <xsd:complexType name="LoopType">
209 <xsd:element name="inline" type="sup:InlineNodeType" />
210 <xsd:element name="service" type="sup:ServiceNodeType" />
211 <xsd:element name="forloop" type="sup:ForLoopType" />
212 <xsd:element name="while" type="sup:WhileType" />
213 <xsd:element name="switch" type="sup:SwitchType" />
214 <xsd:element name="bloc" type="sup:BlocType" />
217 <xsd:attribute name="name" type="xsd:string" use="required"/>
218 <xsd:attribute name="state" type="xsd:string" />
221 <xsd:complexType name="ForLoopType">
223 <xsd:extension base="sup:LoopType">
224 <xsd:attribute name="nsteps" type="xsd:int" />
226 </xsd:complexContent>
229 <xsd:complexType name="WhileType">
231 <xsd:extension base="sup:LoopType">
233 </xsd:complexContent>
236 <xsd:complexType name="BlocType">
238 <xsd:element name="inline" type="sup:InlineNodeType" minOccurs="0" maxOccurs="unbounded"/>
239 <xsd:element name="service" type="sup:ServiceNodeType" minOccurs="0" maxOccurs="unbounded"/>
240 <xsd:element name="forloop" type="sup:ForLoopType" minOccurs="0" maxOccurs="unbounded"/>
241 <xsd:element name="while" type="sup:WhileType" minOccurs="0" maxOccurs="unbounded"/>
242 <xsd:element name="switch" type="sup:SwitchType" minOccurs="0" maxOccurs="unbounded"/>
243 <xsd:element name="bloc" type="sup:BlocType" minOccurs="0" maxOccurs="unbounded"/>
244 <xsd:element name="node" type="sup:NodeType" minOccurs="0" maxOccurs="unbounded"/>
245 <xsd:element name="control" type="sup:ControlType" minOccurs="0" maxOccurs="unbounded"/>
246 <xsd:element name="datalink" type="sup:LinkType" minOccurs="0" maxOccurs="unbounded"/>
247 <xsd:element name="parameter" type="sup:ParameterType" minOccurs="0" maxOccurs="unbounded"/>
248 <xsd:element name="stream" type="sup:StreamType" minOccurs="0" maxOccurs="unbounded"/>
250 <xsd:attribute name="name" type="xsd:string" use="required"/>
251 <xsd:attribute name="state" type="xsd:string" />
254 <xsd:complexType name="ProcType">
256 <xsd:element name="property" type="sup:PropertyType" minOccurs="0" maxOccurs="unbounded"/>
257 <xsd:choice minOccurs="0" maxOccurs="unbounded">
258 <xsd:element name="type" type="sup:TypeType" />
259 <xsd:element name="sequence" type="sup:SequenceType" />
260 <xsd:element name="objref" type="sup:ObjrefType" />
262 <xsd:element name="inline" type="sup:InlineNodeType" minOccurs="0" maxOccurs="unbounded"/>
263 <xsd:element name="service" type="sup:ServiceNodeType" minOccurs="0" maxOccurs="unbounded"/>
264 <xsd:element name="forloop" type="sup:ForLoopType" minOccurs="0" maxOccurs="unbounded"/>
265 <xsd:element name="while" type="sup:WhileType" minOccurs="0" maxOccurs="unbounded"/>
266 <xsd:element name="switch" type="sup:SwitchType" minOccurs="0" maxOccurs="unbounded"/>
267 <xsd:element name="bloc" type="sup:BlocType" minOccurs="0" maxOccurs="unbounded"/>
268 <xsd:element name="node" type="sup:NodeType" minOccurs="0" maxOccurs="unbounded"/>
269 <xsd:element name="control" type="sup:ControlType" minOccurs="0" maxOccurs="unbounded"/>
270 <xsd:element name="datalink" type="sup:LinkType" minOccurs="0" maxOccurs="unbounded"/>
271 <xsd:element name="parameter" type="sup:ParameterType" minOccurs="0" maxOccurs="unbounded"/>
272 <xsd:element name="stream" type="sup:StreamType" minOccurs="0" maxOccurs="unbounded"/>
273 <xsd:element name="presentation" type="sup:PresentationType" minOccurs="0" maxOccurs="unbounded"/>
277 <xsd:element name="proc" type="sup:ProcType"/>