X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fapi%2FAlignmentViewPanel.java;h=70bb3d65749d7a91ad59631475bd1521851d57ad;hb=d64f1df4fdb6c90c7ed36624174eac8b1dd52511;hp=a7acc66f9f560315c9fcec8d82d2c0851d4cdf2b;hpb=a45774ee31d9f35d4eff46d54d7deab719afb092;p=jalview.git diff --git a/src/jalview/api/AlignmentViewPanel.java b/src/jalview/api/AlignmentViewPanel.java index a7acc66..70bb3d6 100644 --- a/src/jalview/api/AlignmentViewPanel.java +++ b/src/jalview/api/AlignmentViewPanel.java @@ -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(); }