Merge branch 'Release_2_7_Branch' into develop
[jalview.git] / src / jalview / api / AlignmentViewPanel.java
index d9c97f4..70bb3d6 100644 (file)
@@ -26,9 +26,20 @@ import jalview.structure.StructureSelectionManager;
  * @author JimP
  *
  */
-public interface AlignmentViewPanel
+public interface AlignmentViewPanel extends OOMHandlerI
 {
 
   AlignmentI getAlignment();
   StructureSelectionManager getStructureSelectionManager();
+  /**
+   * repaint the alignment view after a datamodel update.
+   * @param updateOverview - if true, the overview panel will also be updated and repainted 
+   */
+  
+  void paintAlignment(boolean updateOverview);
+  /**
+   * automatically adjust annotation panel height for new annotation
+   * whilst ensuring the alignment is still visible.
+   */
+  void adjustAnnotationHeight();
 }