From: Jim Procter Date: Thu, 1 May 2014 14:26:07 +0000 (+0100) Subject: JAL-1492 JAL-1397 JAL-643 JAL-969 modifiable flag on colourscheme indicating conserva... X-Git-Tag: Jalview_2_9~190^2~11 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=bbe6ffa0b958ee6c56bf485a120380845fb795c2;p=jalview.git JAL-1492 JAL-1397 JAL-643 JAL-969 modifiable flag on colourscheme indicating conservation shading should be applied --- diff --git a/src/jalview/schemes/ColourSchemeI.java b/src/jalview/schemes/ColourSchemeI.java index 65c24c1..3f73fc9 100755 --- a/src/jalview/schemes/ColourSchemeI.java +++ b/src/jalview/schemes/ColourSchemeI.java @@ -57,6 +57,11 @@ public interface ColourSchemeI public void setConservation(jalview.analysis.Conservation c); /** + * enable or disable conservation shading for this colourscheme + * @param conservationApplied + */ + public void setConservationApplied(boolean conservationApplied); + /** * * @return true if conservation shading is enabled for this colourscheme */ diff --git a/src/jalview/schemes/ResidueColourScheme.java b/src/jalview/schemes/ResidueColourScheme.java index 943d2fa..424947c 100755 --- a/src/jalview/schemes/ResidueColourScheme.java +++ b/src/jalview/schemes/ResidueColourScheme.java @@ -194,6 +194,11 @@ public class ResidueColourScheme implements ColourSchemeI { return conservationColouring; } + @Override + public void setConservationApplied(boolean conservationApplied) + { + conservationColouring = conservationApplied; + } public void setConservationInc(int i) {