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
/
ColourSchemeProperty.java
diff --git
a/src/jalview/schemes/ColourSchemeProperty.java
b/src/jalview/schemes/ColourSchemeProperty.java
index
0f758e0
..
3738f61
100755
(executable)
--- a/
src/jalview/schemes/ColourSchemeProperty.java
+++ b/
src/jalview/schemes/ColourSchemeProperty.java
@@
-17,7
+17,7
@@
*/
package jalview.schemes;
*/
package jalview.schemes;
-import java.awt.*;
+import java.awt.Color;
/**
* ColourSchemeProperty Binds names to hardwired colourschemes and tries to deal
/**
* ColourSchemeProperty Binds names to hardwired colourschemes and tries to deal
@@
-81,6
+81,9
@@
public class ColourSchemeProperty
public static final int PURINEPYRIMIDINE = 13;
public static final int COVARIATION = 14;
public static final int PURINEPYRIMIDINE = 13;
public static final int COVARIATION = 14;
+
+ public static final int TCOFFEE = 15;
+
/**
* index of first colourscheme (includes 'None')
/**
* index of first colourscheme (includes 'None')
@@
-145,6
+148,11
@@
public class ColourSchemeProperty
{
ret = NUCLEOTIDE;
}
{
ret = NUCLEOTIDE;
}
+ else if (name.equalsIgnoreCase("T-Coffee scores"))
+ {
+ ret = TCOFFEE;
+ }
+
else if (name.equalsIgnoreCase("User Defined"))
{
ret = USER_DEFINED;
else if (name.equalsIgnoreCase("User Defined"))
{
ret = USER_DEFINED;