JAL-3829 alternative UX: need to select 3d-beacons from dropdown if db-refs need...
[jalview.git] / src / jalview / schemes / StrandColourScheme.java
index a6e4595..ef55d69 100755 (executable)
@@ -20,6 +20,9 @@
  */
 package jalview.schemes;
 
+import jalview.api.AlignViewportI;
+import jalview.datamodel.AnnotatedCollectionI;
+
 import java.awt.Color;
 
 /**
@@ -64,4 +67,15 @@ public class StrandColourScheme extends ScoreColourScheme
   {
     return JalviewColourScheme.Strand.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 StrandColourScheme();
+  }
 }