From: jprocter Date: Fri, 6 Feb 2009 14:54:46 +0000 (+0000) Subject: showUnconserved group attribute X-Git-Tag: Release_2_5~348 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=912f23384172b4a038a07973770113f8f958833e;p=jalview.git showUnconserved group attribute --- diff --git a/src/jalview/datamodel/SequenceGroup.java b/src/jalview/datamodel/SequenceGroup.java index 561a43d..d12f81b 100755 --- a/src/jalview/datamodel/SequenceGroup.java +++ b/src/jalview/datamodel/SequenceGroup.java @@ -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; + } }