X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fapi%2FAlignViewportI.java;h=cec61f46504ff52d22aab5e8899e650251fffb85;hb=a83adb45bdf9554e270921b4baad94defd314b36;hp=fd4f74d0851193ec7017959cbd2a68d77f854dc9;hpb=3da878124135ff033f42d19d8733891b09e953cd;p=jalview.git diff --git a/src/jalview/api/AlignViewportI.java b/src/jalview/api/AlignViewportI.java index fd4f74d..cec61f4 100644 --- a/src/jalview/api/AlignViewportI.java +++ b/src/jalview/api/AlignViewportI.java @@ -108,9 +108,9 @@ public interface AlignViewportI extends ViewStyleI * * @return */ - Hashtable[] getComplementConsensusHash(); + Hashtable[] getComplementConsensusHash(); - Hashtable[] getRnaStructureConsensusHash(); + Hashtable[] getRnaStructureConsensusHash(); boolean isIgnoreGapsConsensus(); @@ -178,7 +178,7 @@ public interface AlignViewportI extends ViewStyleI * * @param hconsensus */ - void setComplementConsensusHash(Hashtable[] hconsensus); + void setComplementConsensusHash(Hashtable[] hconsensus); /** * @@ -192,13 +192,20 @@ public interface AlignViewportI extends ViewStyleI * * @param hStrucConsensus */ - void setRnaStructureConsensusHash(Hashtable[] hStrucConsensus); + void setRnaStructureConsensusHash( + Hashtable[] hStrucConsensus); /** * Sets the colour scheme for the background alignment (as distinct from * sub-groups, which may have their own colour schemes). A null value is used * for no residue colour (white). * + * BH Note: It is critical that any call to + * AlignViewportI.setGlobalColourScheme is followed closely, if not + * immediately, by a call to AlignPanel.repaint(true, true) so that the + * overview is updated. When that happens, the sequence overview color caches + * are cleared. + * * @param cs */ void setGlobalColourScheme(ColourSchemeI cs);