From 485ceb23bbae52bb2b0fd1def01e1f6822ececcf Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Wed, 23 Mar 2005 15:38:14 +0000 Subject: [PATCH] drawableSequence removed --- src/MCview/PDBChain.java | 3 +-- src/MCview/PDBfile.java | 4 ++-- src/jalview/analysis/Conservation.java | 6 +++--- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/MCview/PDBChain.java b/src/MCview/PDBChain.java index 6a72786..15de7c3 100755 --- a/src/MCview/PDBChain.java +++ b/src/MCview/PDBChain.java @@ -18,7 +18,6 @@ package MCview; import jalview.datamodel.*; import jalview.schemes.ResidueProperties; -import jalview.gui.*; import java.awt.*; import java.util.*; @@ -210,7 +209,7 @@ public class PDBChain { } - public void colourBySequence(DrawableSequence seq) { + public void colourBySequence(Sequence seq) { // for (int i = 0; i < bonds.size(); i++) { // Bond tmp = (Bond)bonds.elementAt(i); diff --git a/src/MCview/PDBfile.java b/src/MCview/PDBfile.java index 7e46b2e..1aa5cac 100755 --- a/src/MCview/PDBfile.java +++ b/src/MCview/PDBfile.java @@ -1,6 +1,6 @@ package MCview; -import jalview.gui.*; +import jalview.datamodel.*; import java.io.*; import java.net.*; import java.util.*; @@ -117,7 +117,7 @@ public class PDBfile extends jalview.io.FileParse { } } - public void colourBySequence(DrawableSequence seq) { + public void colourBySequence(Sequence seq) { //SMJS TODO // int max = seq.maxchain; // if (seq.maxchain != -1) { diff --git a/src/jalview/analysis/Conservation.java b/src/jalview/analysis/Conservation.java index eed6d0a..c5ddd0f 100755 --- a/src/jalview/analysis/Conservation.java +++ b/src/jalview/analysis/Conservation.java @@ -32,7 +32,7 @@ public class Conservation { String consString = ""; - DrawableSequence consSequence; + Sequence consSequence; Hashtable propHash; int threshold; @@ -182,10 +182,10 @@ public class Conservation { } } - consSequence = new DrawableSequence(name,consString,start,end); + consSequence = new Sequence(name,consString,start,end); } - public jalview.gui.DrawableSequence getConsSequence() { + public Sequence getConsSequence() { return consSequence; } -- 1.7.10.2