JAL-2588 Gap colour scheme now shown in overview
[jalview.git] / src / jalview / schemes / ResidueColourScheme.java
index b47b82e..3e8daf9 100755 (executable)
@@ -200,4 +200,14 @@ public abstract class ResidueColourScheme implements ColourSchemeI
   {
     return true;
   }
+
+  /**
+   * Default method returns false. Override this to return true in colour
+   * schemes that have a colour associated with gap residues.
+   */
+  @Override
+  public boolean hasGapColour()
+  {
+    return false;
+  }
 }