JAL-1065 JAL-1066 generic 'annotation collection updated' method called when alignmen...
[jalview.git] / src / jalview / schemes / ColourSchemeI.java
index 05fbe75..273273f 100755 (executable)
@@ -1,6 +1,6 @@
 /*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.5)
- * Copyright (C) 2010 J Procter, AM Waterhouse, G Barton, M Clamp, S Searle
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.7)
+ * Copyright (C) 2011 J Procter, AM Waterhouse, G Barton, M Clamp, S Searle
  * 
  * This file is part of Jalview.
  * 
  */
 package jalview.schemes;
 
-import java.awt.*;
+import java.awt.Color;
+
+import jalview.datamodel.AnnotatedCollectionI;
+import jalview.datamodel.SequenceI;
 
 public interface ColourSchemeI
 {
   public Color findColour(char c);
 
-  public Color findColour(char c, int j);
+  public Color findColour(char c, int j, SequenceI seq);
 
   public void setConsensus(java.util.Hashtable[] h);
 
@@ -39,4 +42,6 @@ public interface ColourSchemeI
 
   public void setThreshold(int ct, boolean ignoreGaps);
 
+  public void alignmentChanged(AnnotatedCollectionI alignment);
+
 }