Refactored alignment viewport to use common base, extended viewport API with getters...
[jalview.git] / src / jalview / api / AlignViewportI.java
index 11fa615..5189e70 100644 (file)
@@ -48,4 +48,25 @@ public interface AlignViewportI
   boolean getCentreColumnLabels();
 
   boolean isCalculationInProgress(AlignmentAnnotation alignmentAnnotation);
+
+  AlignmentAnnotation getAlignmentQualityAnnot();
+
+  AlignmentAnnotation getAlignmentConservationAnnotation();
+
+  /**
+   * Test to see if viewport is still open and active
+   * @return true indicates that all references to viewport should be dropped 
+   */
+  boolean isClosed();
+  /**
+   * get the associated calculation thread manager for the view
+   * @return
+   */
+  AlignCalcManagerI getCalcManager();
+  
+  /**
+   * get the percentage gaps allowed in a conservation calculation
+   * 
+   */
+  public int getConsPercGaps();
 }