JAL-1492 JAL-1397 JAL-643 JAL-969 modifiable flag on colourscheme indicating conserva...
authorJim Procter <jprocter@dundee.ac.uk>
Thu, 1 May 2014 14:26:07 +0000 (15:26 +0100)
committerJim Procter <jprocter@dundee.ac.uk>
Thu, 1 May 2014 14:26:07 +0000 (15:26 +0100)
src/jalview/schemes/ColourSchemeI.java
src/jalview/schemes/ResidueColourScheme.java

index 65c24c1..3f73fc9 100755 (executable)
@@ -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
    */
index 943d2fa..424947c 100755 (executable)
@@ -194,6 +194,11 @@ public class ResidueColourScheme implements ColourSchemeI
   {
     return conservationColouring;
   }
+  @Override
+  public void setConservationApplied(boolean conservationApplied)
+  {
+    conservationColouring = conservationApplied;
+  }
 
   public void setConservationInc(int i)
   {