AlignFrame is now the FeatureListener
authoramwaterhouse <Andrew Waterhouse>
Thu, 22 Jun 2006 08:51:03 +0000 (08:51 +0000)
committeramwaterhouse <Andrew Waterhouse>
Thu, 22 Jun 2006 08:51:03 +0000 (08:51 +0000)
src/jalview/gui/AlignmentPanel.java

index 8e02a9c..67eaef8 100755 (executable)
@@ -32,8 +32,6 @@ import java.io.*;
 \r
 import javax.swing.*;\r
 \r
-import org.biojava.dasobert.eventmodel.*;\r
-\r
 \r
 /**\r
  * DOCUMENT ME!\r
@@ -42,7 +40,7 @@ import org.biojava.dasobert.eventmodel.*;
  * @version $Revision$\r
  */\r
 public class AlignmentPanel extends GAlignmentPanel\r
-    implements AdjustmentListener, Printable, FeatureListener\r
+    implements AdjustmentListener, Printable\r
 {\r
   public AlignViewport av;\r
   OverviewPanel overviewPanel;\r
@@ -245,22 +243,6 @@ public class AlignmentPanel extends GAlignmentPanel
     });\r
   }\r
 \r
-  public void comeBackLater(FeatureEvent evt)\r
-  {}\r
-\r
-  public void newFeatures(FeatureEvent evt)\r
-  {\r
-    if (evt.getFeatures().length > 0)\r
-    {\r
-      seqPanel.seqCanvas.fr.featuresAdded();\r
-      repaint();\r
-    }\r
-    else\r
-    {\r
-      System.out.println("No Features found for "+evt.getDasSource().getNickname());\r
-    }\r
-  }\r
-\r
   /**\r
    * DOCUMENT ME!\r
    */\r