/*******************************************************************************
* 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.
*
/**
* 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();
}