X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/4cf57e6db08da791233d75237f62e74bc88dd427..HEAD:/projectfile.xsd?ds=inline diff --git a/projectfile.xsd b/projectfile.xsd index de6ec42..8196754 100644 --- a/projectfile.xsd +++ b/projectfile.xsd @@ -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"> @@ -147,6 +149,15 @@ </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"> @@ -229,13 +240,30 @@ <xs:attribute name="ref_md5" type="xs:string"/> <xs:attribute name="context" type="xs:string"/> <xs:attribute name="type" type="xs:string"/> - <xs:attribute name="params" type="xs:string"/> + <xs:attribute name="params" 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"/> @@ -279,6 +307,41 @@ <!-- 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> @@ -294,6 +357,7 @@ <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> @@ -465,6 +529,7 @@ <xs:element name="blast_project"> <xs:complexType> <xs:group ref="rootElmtGroup"/> + <xs:attribute ref="project_path" /> </xs:complexType> </xs:element>