JAL-3210 Improvements to eclipse detection. New src tree and SwingJS updated from...
[jalview.git] / src / jalview / api / AlignmentViewPanel.java
index 7ff3a6a..9593a5b 100644 (file)
@@ -1,6 +1,6 @@
 /*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2)
- * Copyright (C) 2014 The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
  * 
  * This file is part of Jalview.
  * 
@@ -23,6 +23,8 @@ package jalview.api;
 import jalview.datamodel.AlignmentI;
 import jalview.structure.StructureSelectionManager;
 
+import java.awt.image.BufferedImage;
+
 /**
  * abstract interface implemented by alignment panels holding an alignment view
  * 
@@ -32,6 +34,8 @@ import jalview.structure.StructureSelectionManager;
 public interface AlignmentViewPanel extends OOMHandlerI
 {
 
+  AlignViewportI getAlignViewport();
+
   AlignmentI getAlignment();
 
   StructureSelectionManager getStructureSelectionManager();
@@ -41,13 +45,29 @@ public interface AlignmentViewPanel extends OOMHandlerI
    * 
    * @param updateOverview
    *          - if true, the overview panel will also be updated and repainted
+   * @param updateStructures
+   *          - if true then any linked structure views will also be updated
    */
-
-  void paintAlignment(boolean updateOverview);
+  void paintAlignment(boolean updateOverview, boolean updateStructures);
 
   /**
    * automatically adjust annotation panel height for new annotation whilst
    * ensuring the alignment is still visible.
    */
   void adjustAnnotationHeight();
+
+  FeatureRenderer getFeatureRenderer();
+
+  FeatureRenderer cloneFeatureRenderer();
+
+  /**
+   * 
+   * @return displayed name for the view
+   */
+  String getViewName();
+
+  SequenceRenderer getSequenceRenderer();
+
+  void overviewDone(BufferedImage miniMe);
+
 }