+ if(av.getConservationSelected())\r
+ {\r
+\r
+ Alignment al = (Alignment)av.getAlignment();\r
+ Conservation c = new Conservation("All",\r
+ ResidueProperties.propHash, 3, al.getSequences(), 0,\r
+ al.getWidth() );\r
+\r
+ c.calculate();\r
+ c.verdict(false, 100);\r
+ ConservationColourScheme ccs = new ConservationColourScheme(c, cs);\r
+\r
+ av.setGlobalColourScheme( ccs );\r
+\r
+ }\r
+\r
+ RefreshPanels();\r
+ }\r