]> AND Private Git Repository - blast.git/blobdiff - projectfile.xsd
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
finalized analysis with clkconvert + started testbench gen.
[blast.git] / projectfile.xsd
index 02ba8fd19a8475b24844559e5d0dd0ddd8105322..819675436fcb6619f3bae5756a25a82e8aaf0ce7 100644 (file)
@@ -47,6 +47,7 @@
     <xs:attribute ref="name" />
     <xs:attribute ref="position" />
     <xs:attribute ref="dimension" />
+    <xs:attribute ref="visible" use="optional"/>    
   </xs:attributeGroup>
 
   <xs:attributeGroup name="source_parameterAttrGroup">
@@ -96,6 +97,7 @@
   <xs:attributeGroup name="connectionAttrGroup">
     <xs:attribute ref="from" />
     <xs:attribute ref="to" />
+    <xs:attribute ref="visible" use="optional" />
   </xs:attributeGroup>
 
   <xs:attributeGroup name="modifierAttrGroup">
     </xs:simpleType>
   </xs:attribute>
 
+  <xs:attribute name="visible">
+    <xs:simpleType>
+      <xs:restriction base="xs:string">
+       <xs:enumeration value="true"/>
+       <xs:enumeration value="false"/>
+      </xs:restriction>
+    </xs:simpleType>
+  </xs:attribute>
+  
   <xs:attribute name="inside_group">
     <xs:simpleType>
       <xs:restriction base="xs:nonNegativeInteger">
   <xs:attribute name="context" type="xs:string"/>
   <xs:attribute name="type" type="xs:string"/>
   <xs:attribute name="params" type="xs:string"/>
-  <xs:attribute name="project_path" type="xs:string"/>  
+  <xs:attribute name="project_path" type="xs:string"/>
+
+  <xs:attribute name="font" type="xs:string"/>
+  <xs:attribute name="font_size" type="xs:nonNegativeInteger"/>
+  <xs:attribute name="width" type="xs:nonNegativeInteger"/>
+  <xs:attribute name="height" type="xs:nonNegativeInteger"/>
+  <xs:attribute name="line_length" type="xs:nonNegativeInteger"/>
+  <xs:attribute name="gap_length" type="xs:nonNegativeInteger"/>
+  <xs:attribute name="auto_conn">
+    <xs:simpleType>
+      <xs:restriction base="xs:string">
+       <xs:enumeration value="true"/>
+       <xs:enumeration value="false"/>
+      </xs:restriction>
+    </xs:simpleType>
+  </xs:attribute>
 
 
   <!-- déclaration des groupes d'éléments -->
 
   <xs:group name="rootElmtGroup">
     <xs:sequence>
+      <xs:element ref="parameters"/>      
       <xs:element ref="scenes"/>
       <xs:element ref="connections"/>
       <xs:element ref="modifiers"/>
 
 
   <!-- déclaration des éléments -->
+  <xs:element name="parameters">
+    <xs:complexType>
+      <xs:sequence>
+       <xs:element ref="block_view" />
+       <xs:element ref="interface_view" />
+       <xs:element ref="connection_view" />
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  
+  <xs:element name="block_view">
+    <xs:complexType>
+      <xs:attribute ref="width"/>
+      <xs:attribute ref="height"/>
+      <xs:attribute ref="font"/>
+      <xs:attribute ref="font_size"/>
+    </xs:complexType>
+  </xs:element>
+
+  <xs:element name="interface_view">
+    <xs:complexType>
+      <xs:attribute ref="line_length"/>      
+      <xs:attribute ref="width"/>
+      <xs:attribute ref="height"/>
+      <xs:attribute ref="font"/>
+      <xs:attribute ref="font_size"/>
+    </xs:complexType>
+  </xs:element>
+
+  <xs:element name="connection_view">
+    <xs:complexType>
+      <xs:attribute ref="gap_length"/>      
+      <xs:attribute ref="auto_conn"/>
+    </xs:complexType>
+  </xs:element>
 
   <xs:element name="scenes">
     <xs:complexType>
       <xs:group ref="sceneElmtGroup"/>
       <xs:attribute ref="id"/>
       <xs:attribute ref="upper_scene"/>
+      <xs:attribute name="clklist" type="xs:string" use="optional" />
     </xs:complexType>
   </xs:element>