Merge branch 'Release_2_7_Branch' into develop
[jalview.git] / src / jalview / api / AlignmentViewPanel.java
index a7acc66..70bb3d6 100644 (file)
@@ -1,6 +1,6 @@
 /*******************************************************************************
  * Jalview - A Sequence Alignment Editor and Viewer (Version 2.7)
- * Copyright (C) 2011 J Procter, AM Waterhouse, G Barton, M Clamp, S Searle
+ * Copyright (C) 2011 J Procter, AM Waterhouse, J Engelhardt, LM Lui, G Barton, M Clamp, S Searle
  *
  * This file is part of Jalview.
  *
@@ -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();
 }