X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fschemes%2FAnnotationColourGradient.java;h=fb1443dbf160da7cc942fb6549fe55eaf70824a4;hb=7d6bf4ac01167499c0f4e07de63edcdd72a6d595;hp=466a2164d4cff9871dac1acf1ffd2c525182d0b1;hpb=b0cee3aaf7d8873910939f97b6acb217d518968d;p=jalview.git diff --git a/src/jalview/schemes/AnnotationColourGradient.java b/src/jalview/schemes/AnnotationColourGradient.java index 466a216..fb1443d 100755 --- a/src/jalview/schemes/AnnotationColourGradient.java +++ b/src/jalview/schemes/AnnotationColourGradient.java @@ -64,7 +64,7 @@ public class AnnotationColourGradient extends FollowerColourScheme IdentityHashMap seqannot = null; @Override - public ColourSchemeI applyTo(AnnotatedCollectionI sg, + public ColourSchemeI getInstance(AnnotatedCollectionI sg, Map hiddenRepSequences) { AnnotationColourGradient acg = new AnnotationColourGradient(annotation, @@ -426,4 +426,10 @@ public class AnnotationColourGradient extends FollowerColourScheme { return "Annotation"; } + + @Override + public boolean isSimple() + { + return false; + } }