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
/
NucleotideColourScheme.java
diff --git
a/src/jalview/schemes/NucleotideColourScheme.java
b/src/jalview/schemes/NucleotideColourScheme.java
index
d1e18ef
..
4977107
100755
(executable)
--- a/
src/jalview/schemes/NucleotideColourScheme.java
+++ b/
src/jalview/schemes/NucleotideColourScheme.java
@@
-20,12
+20,8
@@
*/
package jalview.schemes;
*/
package jalview.schemes;
+import jalview.api.AlignViewportI;
import jalview.datamodel.AnnotatedCollectionI;
import jalview.datamodel.AnnotatedCollectionI;
-import jalview.datamodel.SequenceCollectionI;
-import jalview.datamodel.SequenceI;
-
-import java.awt.Color;
-import java.util.Map;
/**
* DOCUMENT ME!
/**
* DOCUMENT ME!
@@
-43,20
+39,6
@@
public class NucleotideColourScheme extends ResidueColourScheme
super(ResidueProperties.nucleotideIndex, ResidueProperties.nucleotide);
}
super(ResidueProperties.nucleotideIndex, ResidueProperties.nucleotide);
}
- /**
- * DOCUMENT ME!
- *
- * @param n
- * DOCUMENT ME!
- *
- * @return DOCUMENT ME!
- */
- @Override
- public Color findColour(char c)
- {
- return colors[ResidueProperties.nucleotideIndex[c]];
- }
-
@Override
public boolean isNucleotideSpecific()
{
@Override
public boolean isNucleotideSpecific()
{
@@
-74,8
+56,8
@@
public class NucleotideColourScheme extends ResidueColourScheme
* be coloured
*/
@Override
* be coloured
*/
@Override
- public ColourSchemeI getInstance(AnnotatedCollectionI coll,
- Map<SequenceI, SequenceCollectionI> hrs)
+ public ColourSchemeI getInstance(AlignViewportI view,
+ AnnotatedCollectionI coll)
{
return new NucleotideColourScheme();
}
{
return new NucleotideColourScheme();
}