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-629 example files from nf-core
[jalview.git]
/
src
/
jalview
/
schemes
/
StrandColourScheme.java
diff --git
a/src/jalview/schemes/StrandColourScheme.java
b/src/jalview/schemes/StrandColourScheme.java
index
a6e4595
..
ef55d69
100755
(executable)
--- a/
src/jalview/schemes/StrandColourScheme.java
+++ b/
src/jalview/schemes/StrandColourScheme.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 StrandColourScheme extends ScoreColourScheme
{
return JalviewColourScheme.Strand.toString();
}
{
return JalviewColourScheme.Strand.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 StrandColourScheme();
+ }
}
}