X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fschemes%2FColourSchemeProperty.java;h=d608a80d5ca537fd17cd3922e393e612ecd741ab;hb=8d2724b83aca38ef75d68787cc5939d950467e63;hp=aa928cc81588e1c1552b8e5f48c7c2ec031c5572;hpb=a5eefc708b5f7aaedcd1640f944dd5b2851ea614;p=jalview.git diff --git a/src/jalview/schemes/ColourSchemeProperty.java b/src/jalview/schemes/ColourSchemeProperty.java index aa928cc..d608a80 100755 --- a/src/jalview/schemes/ColourSchemeProperty.java +++ b/src/jalview/schemes/ColourSchemeProperty.java @@ -87,6 +87,8 @@ public class ColourSchemeProperty public static final int TCOFFEE = 15; + public static final int RNAINTERACTION = 16; + /** * index of first colourscheme (includes 'None') */ @@ -167,6 +169,11 @@ public class ColourSchemeProperty { ret = PURINEPYRIMIDINE; } + + else if (name.equalsIgnoreCase("RNA Interaction type")) + { + ret = RNAINTERACTION; + } // else if (name.equalsIgnoreCase("Covariation")) // { // ret = COVARIATION; @@ -240,6 +247,9 @@ public class ColourSchemeProperty { index = TCOFFEE; } + + + /* * else if (cs instanceof CovariationColourScheme) { index = COVARIATION; } */ @@ -334,6 +344,11 @@ public class ColourSchemeProperty ret = "T-Coffee Scores"; break; + + case RNAINTERACTION: + ret = "RNA Interaction type"; + + break; /* * case COVARIATION: ret = "Covariation"; * @@ -485,10 +500,14 @@ public class ColourSchemeProperty case TCOFFEE: cs = new TCoffeeColourScheme(coll); - // case COVARIATION: - // cs = new CovariationColourScheme(annotation); + break; + + + + // case COVARIATION: + // cs = new CovariationColourScheme(annotation); - // break; + // break; case USER_DEFINED: Color[] col = new Color[24];