jalview XML schema update for 2.4.1 (or 2.5?) introducing IDs for views and treepanel...
[jalview.git] / schemas / jalview.xsd
index b643d67..00a589b 100755 (executable)
@@ -26,6 +26,9 @@
                                                                                                                                <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:ID" use="optional"/>
+                                                                                                                                       
+                                                                                                                               
                                                                                                                        </xs:extension>
                                                                                                                </xs:simpleContent>
                                                                                                        </xs:complexType>
                                                <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">