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
v2
[jalview.git]
/
src
/
jalview
/
schemes
/
ColourSchemeProperty.java
diff --git
a/src/jalview/schemes/ColourSchemeProperty.java
b/src/jalview/schemes/ColourSchemeProperty.java
index
1e2db76
..
fc6d536
100755
(executable)
--- a/
src/jalview/schemes/ColourSchemeProperty.java
+++ b/
src/jalview/schemes/ColourSchemeProperty.java
@@
-86,6
+86,7
@@
public class ColourSchemeProperty
public static final int TCOFFEE = 15;
public static final int TCOFFEE = 15;
+ public static final int RNAINTERACTION = 16;
/**
* index of first colourscheme (includes 'None')
/**
* index of first colourscheme (includes 'None')
@@
-167,6
+168,11
@@
public class ColourSchemeProperty
{
ret = PURINEPYRIMIDINE;
}
{
ret = PURINEPYRIMIDINE;
}
+
+ else if (name.equalsIgnoreCase("RNA Interaction type"))
+ {
+ ret = RNAINTERACTION;
+ }
// else if (name.equalsIgnoreCase("Covariation"))
// {
// ret = COVARIATION;
// else if (name.equalsIgnoreCase("Covariation"))
// {
// ret = COVARIATION;
@@
-240,6
+246,12
@@
public class ColourSchemeProperty
{
index = TCOFFEE;
}
{
index = TCOFFEE;
}
+ else if (cs instanceof RNAInteractionColourScheme)
+ {
+ index = RNAINTERACTION;
+ }
+
+
/*
* else if (cs instanceof CovariationColourScheme) { index = COVARIATION; }
*/
/*
* else if (cs instanceof CovariationColourScheme) { index = COVARIATION; }
*/
@@
-334,6
+346,11
@@
public class ColourSchemeProperty
ret = "T-Coffee Scores";
break;
ret = "T-Coffee Scores";
break;
+
+ case RNAINTERACTION:
+ ret = "RNA Interaction type";
+
+ break;
/*
* case COVARIATION: ret = "Covariation";
*
/*
* case COVARIATION: ret = "Covariation";
*
@@
-480,6
+497,12
@@
public class ColourSchemeProperty
case TCOFFEE:
cs = new TCoffeeColourScheme(coll);
case TCOFFEE:
cs = new TCoffeeColourScheme(coll);
+ break;
+
+ case RNAINTERACTION:
+ cs = new RNAInteractionColourScheme();
+ break;
+
// case COVARIATION:
// cs = new CovariationColourScheme(annotation);
// case COVARIATION:
// cs = new CovariationColourScheme(annotation);