jalview XML schema update for 2.4.1 (or 2.5?) introducing IDs for views and treepanel...
[jalview.git] / src / jalview / schemabinding / version2 / Viewport.java
index aa97a95..07ddd65 100755 (executable)
@@ -302,6 +302,13 @@ public class Viewport implements java.io.Serializable {
     private boolean _has_textColThreshold;\r
 \r
     /**\r
+     * unique id used by jalview to synchronize between stored and\r
+     * instantiated views\r
+     *  \r
+     */\r
+    private java.lang.String _id;\r
+\r
+    /**\r
      * Field _annotationColours.\r
      */\r
     private jalview.schemabinding.version2.AnnotationColours _annotationColours;\r
@@ -678,6 +685,19 @@ public class Viewport implements java.io.Serializable {
     }\r
 \r
     /**\r
+     * Returns the value of field 'id'. The field 'id' has the\r
+     * following description: unique id used by jalview to\r
+     * synchronize between stored and instantiated views\r
+     *  \r
+     * \r
+     * @return the value of field 'Id'.\r
+     */\r
+    public java.lang.String getId(\r
+    ) {\r
+        return this._id;\r
+    }\r
+\r
+    /**\r
      * Returns the value of field 'pidSelected'.\r
      * \r
      * @return the value of field 'PidSelected'.\r
@@ -1481,6 +1501,19 @@ public class Viewport implements java.io.Serializable {
     }\r
 \r
     /**\r
+     * Sets the value of field 'id'. The field 'id' has the\r
+     * following description: unique id used by jalview to\r
+     * synchronize between stored and instantiated views\r
+     *  \r
+     * \r
+     * @param id the value of field 'id'.\r
+     */\r
+    public void setId(\r
+            final java.lang.String id) {\r
+        this._id = id;\r
+    }\r
+\r
+    /**\r
      * Sets the value of field 'pidSelected'.\r
      * \r
      * @param pidSelected the value of field 'pidSelected'.\r