(JAL-961) more calculation annotation and result object getters
[jalview.git] / src / jalview / api / AlignViewportI.java
index 5189e70..914f010 100644 (file)
@@ -52,6 +52,11 @@ public interface AlignViewportI
   AlignmentAnnotation getAlignmentQualityAnnot();
 
   AlignmentAnnotation getAlignmentConservationAnnotation();
+  /**
+   * get the container for alignment consensus annotation
+   * @return
+   */
+  AlignmentAnnotation getAlignmentConsensusAnnotation();
 
   /**
    * Test to see if viewport is still open and active
@@ -69,4 +74,23 @@ public interface AlignViewportI
    * 
    */
   public int getConsPercGaps();
+
+  /**
+   * set the consensus result object for the viewport
+   * @param hconsensus
+   */
+  void setSequenceConsensusHash(Hashtable[] hconsensus);
+
+  /**
+   * 
+   * @return the alignment annotatino row for the structure consensus calculation
+   */
+  AlignmentAnnotation getAlignmentStrucConsensusAnnotation();
+
+  /**
+   * set the Rna structure consensus result object for the viewport
+   * @param hStrucConsensus 
+   */
+  void setRnaStructureConsensusHash(Hashtable[] hStrucConsensus);
+
 }