experimental: sort by feature UI in feature settings and variable height rendering...
[jalview.git] / schemas / jalview.xsd
index 72a3273..06473bc 100755 (executable)
                                                                                                                                <xs:attribute name="ypos" type="xs:int"/>
                                                                                                                                <xs:attribute name="width" type="xs:int"/>
                                                                                                                                <xs:attribute name="height" type="xs:int"/>
+                                                                                                                               <xs:attribute name="viewId" type="xs:string" use="optional">
+                                                                                                                                       <xs:annotation>
+                                                                                                                                               <xs:documentation>additional identifier which properly disambiguates
+                                                                                                                                               the structure view from any other view with the same attributes. This is not an ID,
+                                                                                                                                               because it is possible to have many references to the same physical structure view
+                                                                                                                                               from different sequences in an alignment. A structureState element citing the same
+                                                                                                                                               viewId will appear for each instance.</xs:documentation>
+                                                                                                                                       </xs:annotation>
+                                                                                                                               </xs:attribute>
+                                                                                                                                       
+                                                                                                                               
                                                                                                                        </xs:extension>
                                                                                                                </xs:simpleContent>
                                                                                                        </xs:complexType>
                                                <xs:attribute name="colour" type="xs:int" use="optional"/>
                                                <xs:attribute name="start" type="xs:int" use="required"/>
                                                <xs:attribute name="end" type="xs:int" use="required"/>
-                                               <xs:attribute name="id" type="xs:int" use="required"/>
+                                               <xs:attribute name="id" type="xs:string" use="required"/>
                                                <xs:attribute name="hidden" type="xs:boolean"/>
                                        </xs:complexType>
                                </xs:element>
                                <xs:element name="JGroup" minOccurs="0" maxOccurs="unbounded">
                                        <xs:complexType>
                                                <xs:sequence>
-                                                       <xs:element name="seq" type="xs:int" maxOccurs="unbounded"/>
+                                                       <xs:element name="seq" type="xs:string" maxOccurs="unbounded"/>
                                                </xs:sequence>
                                                <xs:attribute name="start" type="xs:int"/>
                                                <xs:attribute name="end" type="xs:int"/>
                                                <xs:attribute name="textCol1" type="xs:int"/>
                                                <xs:attribute name="textCol2" type="xs:int"/>
                                                <xs:attribute name="textColThreshold" type="xs:int"/>
+                                               <xs:attribute name="id" type="xs:ID" use="optional">
+                                                       <xs:annotation>
+                                                               <xs:documentation>
+                                                                       unique id used by jalview to synchronize between stored and instantiated views
+                                                               </xs:documentation>
+                                                       </xs:annotation>
+                                               </xs:attribute>
                                        </xs:complexType>
                                </xs:element>
                                <xs:element name="UserColours" minOccurs="0" maxOccurs="unbounded">
                                                <xs:attribute name="markUnlinked" type="xs:boolean"/>
                                                <xs:attribute name="fitToWindow" type="xs:boolean"/>
                                                <xs:attribute name="currentTree" type="xs:boolean"/>
+                                               <xs:attribute name="id" type="xs:ID" use="optional">
+                                                       <xs:annotation><xs:documentation>Tree ID added for binding tree visualization settings to vamsas document trees in jalview 2.4.1</xs:documentation></xs:annotation>
+                                               </xs:attribute>
                                        </xs:complexType>
                                </xs:element>
                                <xs:element name="FeatureSettings" minOccurs="0">