JAL-3468 i18n and additional unit tests
[jalview.git] / src / jalview / schemes / HelixColourScheme.java
index f99274b..2724f77 100755 (executable)
@@ -20,6 +20,9 @@
  */
 package jalview.schemes;
 
+import jalview.api.AlignViewportI;
+import jalview.datamodel.AnnotatedCollectionI;
+
 import java.awt.Color;
 
 public class HelixColourScheme extends ScoreColourScheme
@@ -47,4 +50,15 @@ public class HelixColourScheme extends ScoreColourScheme
   {
     return JalviewColourScheme.Helix.toString();
   }
+
+  /**
+   * Returns a new instance of this colour scheme with which the given data may
+   * be coloured
+   */
+  @Override
+  public ColourSchemeI getInstance(AlignViewportI view,
+          AnnotatedCollectionI coll)
+  {
+    return new HelixColourScheme();
+  }
 }