showUnconserved group attribute
authorjprocter <Jim Procter>
Fri, 6 Feb 2009 14:54:46 +0000 (14:54 +0000)
committerjprocter <Jim Procter>
Fri, 6 Feb 2009 14:54:46 +0000 (14:54 +0000)
src/jalview/datamodel/SequenceGroup.java

index 561a43d..d12f81b 100755 (executable)
@@ -47,6 +47,11 @@ public class SequenceGroup
 
   boolean colourText = false;
   /**
+   * after Olivier's non-conserved only character display
+   */
+  boolean showUnconserved = false;
+  
+  /**
    * group members
    */
   private Vector sequences = new Vector();
@@ -816,4 +821,27 @@ public class SequenceGroup
     }
     return sgroup;
   }
+
+  /**
+   * @return the showUnconserved
+   */
+  public boolean getShowunconserved()
+  {
+    return showUnconserved;
+  }
+
+  /**
+   * @param showUnconserved the showUnconserved to set
+   */
+  public void setShowunconserved(boolean displayNonconserved)
+  {
+    this.showUnconserved = displayNonconserved;
+  }
+
+  public AlignmentAnnotation getConsensus()
+  {
+    // TODO get or calculate and get consensus annotation row for this group
+    this.conserve.getConsSequence();
+    return null;
+  }
 }