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-4235 JAL-3599 Try and report Eclipse Product Version for jalviewjsTranspile....
[jalview.git]
/
src
/
jalview
/
schemes
/
TurnColourScheme.java
diff --git
a/src/jalview/schemes/TurnColourScheme.java
b/src/jalview/schemes/TurnColourScheme.java
index
ac16b5b
..
7d8035a
100755
(executable)
--- a/
src/jalview/schemes/TurnColourScheme.java
+++ b/
src/jalview/schemes/TurnColourScheme.java
@@
-20,6
+20,9
@@
*/
package jalview.schemes;
*/
package jalview.schemes;
+import jalview.api.AlignViewportI;
+import jalview.datamodel.AnnotatedCollectionI;
+
import java.awt.Color;
/**
import java.awt.Color;
/**
@@
-64,4
+67,15
@@
public class TurnColourScheme extends ScoreColourScheme
{
return JalviewColourScheme.Turn.toString();
}
{
return JalviewColourScheme.Turn.toString();
}
+
+ /**
+ * Returns a new instance of this colour scheme with which the given data may
+ * be coloured
+ */
+ @Override
+ public ColourSchemeI getInstance(AlignViewportI view,
+ AnnotatedCollectionI coll)
+ {
+ return new TurnColourScheme();
+ }
}
}