From 8c8433dbbca18eb7955537a8756fba92d044dd41 Mon Sep 17 00:00:00 2001 From: jprocter Date: Thu, 27 Oct 2011 12:18:54 +0100 Subject: [PATCH] (JAL-961) more calculation annotation and result object getters --- src/jalview/api/AlignViewportI.java | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/jalview/api/AlignViewportI.java b/src/jalview/api/AlignViewportI.java index 5189e70..914f010 100644 --- a/src/jalview/api/AlignViewportI.java +++ b/src/jalview/api/AlignViewportI.java @@ -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); + } -- 1.7.10.2