X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fappletgui%2FAlignViewport.java;h=ceb30d713f4db2e20f2f890bf88688332fc740de;hb=4e1cb9b8b058d9b633af223b1cdb7b220d5d2ccd;hp=b39aaebd45d4861f497aeee5fb981d8fe76ff61c;hpb=506d60f0e188723ddc91c26824b41ac7034df3fe;p=jalview.git diff --git a/src/jalview/appletgui/AlignViewport.java b/src/jalview/appletgui/AlignViewport.java index b39aaeb..ceb30d7 100755 --- a/src/jalview/appletgui/AlignViewport.java +++ b/src/jalview/appletgui/AlignViewport.java @@ -1,6 +1,6 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.4) - * Copyright (C) 2008 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle + * Jalview - A Sequence Alignment Editor and Viewer (Development Version 2.4.1) + * Copyright (C) 2009 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -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) { @@ -192,6 +198,11 @@ public class AlignViewport upperCasebold = true; } } + param = applet.getParameter("sortByTree"); + if (param != null) + { + sortByTree=Boolean.valueOf(param).booleanValue(); + } } @@ -1476,6 +1487,7 @@ public class AlignViewport boolean centreColumnLabels; + public boolean getCentreColumnLabels() { return centreColumnLabels; @@ -1497,5 +1509,33 @@ public class AlignViewport } } } + public boolean followHighlight=false; + public boolean getFollowHighlight() { + return followHighlight; + } + /** + * show non-conserved residues only + */ + public boolean showUnconserved=false; + + /** + * when set, alignment should be reordered according to a newly opened tree + */ + public boolean sortByTree=false; + + /** + * @return the showUnconserved + */ + public boolean getShowunconserved() + { + return showUnconserved; + } + /** + * @param showUnconserved the showUnconserved to set + */ + public void setShowunconserved(boolean displayNonconserved) + { + this.showUnconserved = displayNonconserved; + } }