Merge branch 'develop' into features/JAL-2360colourSchemeApplicability
[jalview.git] / src / jalview / schemes / AnnotationColourGradient.java
index 466a216..fb1443d 100755 (executable)
@@ -64,7 +64,7 @@ public class AnnotationColourGradient extends FollowerColourScheme
   IdentityHashMap<SequenceI, AlignmentAnnotation> seqannot = null;
 
   @Override
-  public ColourSchemeI applyTo(AnnotatedCollectionI sg,
+  public ColourSchemeI getInstance(AnnotatedCollectionI sg,
           Map<SequenceI, SequenceCollectionI> hiddenRepSequences)
   {
     AnnotationColourGradient acg = new AnnotationColourGradient(annotation,
@@ -426,4 +426,10 @@ public class AnnotationColourGradient extends FollowerColourScheme
   {
     return "Annotation";
   }
+
+  @Override
+  public boolean isSimple()
+  {
+    return false;
+  }
 }