X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fschemes%2FColourSchemeI.java;h=be8793bae816bdec82ce8ba61ff0895f58f4065f;hb=94379c810f9115b8564ee7bac46ed119218d5fd2;hp=f2e888efd06023b99620e9c80d145f56c5008c12;hpb=8e2d11189e14700f721dc0cf17c462352883ef97;p=jalview.git diff --git a/src/jalview/schemes/ColourSchemeI.java b/src/jalview/schemes/ColourSchemeI.java index f2e888e..be8793b 100755 --- a/src/jalview/schemes/ColourSchemeI.java +++ b/src/jalview/schemes/ColourSchemeI.java @@ -130,13 +130,15 @@ public interface ColourSchemeI /** * Creates and returns a new instance of the colourscheme configured to colour - * the given connection + * the given collection. Note that even simple colour schemes should return a + * new instance for each call to this method, as different instances may have + * differing shading by consensus or percentage identity applied. * * @param sg * @param hiddenRepSequences - * @return copy of current scheme with any inherited settings transfered + * @return copy of current scheme with any inherited settings transferred */ - ColourSchemeI applyTo(AnnotatedCollectionI sg, + ColourSchemeI getInstance(AnnotatedCollectionI sg, Map hiddenRepSequences); /**