showUnconserved and updated reference
[jalview.git] / src / jalview / appletgui / AlignViewport.java
index 9512c5a..fd43a5d 100755 (executable)
@@ -184,6 +184,12 @@ public class AlignViewport
         showConsensus = Boolean.valueOf(param).booleanValue();
       }
 
+      param = applet.getParameter("showUnconserved");
+      if (param != null)
+      {
+        this.showUnconserved = Boolean.valueOf(param).booleanValue();
+      }
+
       param = applet.getParameter("upperCase");
       if (param != null)
       {
@@ -1502,4 +1508,24 @@ public class AlignViewport
   public boolean getFollowHighlight() {
     return followHighlight;
   }
+  /**
+   * show non-conserved residues only
+   */
+  public boolean showUnconserved=false;
+
+  /**
+   * @return the showUnconserved
+   */
+  public boolean getShowunconserved()
+  {
+    return showUnconserved;
+  }
+
+  /**
+   * @param showUnconserved the showUnconserved to set
+   */
+  public void setShowunconserved(boolean displayNonconserved)
+  {
+    this.showUnconserved = displayNonconserved;
+  }
 }