formatting
[jalview.git] / src / jalview / api / AlignmentViewPanel.java
index a7acc66..010fb3d 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.
  *
@@ -23,12 +23,29 @@ import jalview.structure.StructureSelectionManager;
 
 /**
  * abstract interface implemented by alignment panels holding an alignment view
+ * 
  * @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();
 }