git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-1066 - T-Coffee color scheme + signature change on findColour method
[jalview.git]
/
src
/
jalview
/
schemes
/
AnnotationColourGradient.java
diff --git
a/src/jalview/schemes/AnnotationColourGradient.java
b/src/jalview/schemes/AnnotationColourGradient.java
index
e265598
..
5d12cce
100755
(executable)
--- a/
src/jalview/schemes/AnnotationColourGradient.java
+++ b/
src/jalview/schemes/AnnotationColourGradient.java
@@
-17,9
+17,10
@@
*/
package jalview.schemes;
*/
package jalview.schemes;
-import java.awt.*;
+import jalview.datamodel.AlignmentAnnotation;
+import jalview.datamodel.GraphLine;
-import jalview.datamodel.*;
+import java.awt.Color;
public class AnnotationColourGradient extends ResidueColourScheme
{
public class AnnotationColourGradient extends ResidueColourScheme
{
@@
-152,7
+153,8
@@
public class AnnotationColourGradient extends ResidueColourScheme
*
* @return DOCUMENT ME!
*/
*
* @return DOCUMENT ME!
*/
- public Color findColour(char c, int j)
+ @Override
+ public Color findColour(char c, int j, int sequenceIndex)
{
Color currentColour = Color.white;
{
Color currentColour = Color.white;
@@
-202,7
+204,7
@@
public class AnnotationColourGradient extends ResidueColourScheme
if (colourScheme != null)
{
if (colourScheme != null)
{
- currentColour = colourScheme.findColour(c, j);
+ currentColour = colourScheme.findColour(c, j, sequenceIndex);
}
else if (range != 0)
{
}
else if (range != 0)
{