From 1e184475a6f6ba43584580b55351331a8b57b350 Mon Sep 17 00:00:00 2001 From: jprocter Date: Fri, 24 Jul 2009 15:07:35 +0000 Subject: [PATCH] optional sequencegroup ref for annotation row --- src/jalview/datamodel/AlignmentAnnotation.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/jalview/datamodel/AlignmentAnnotation.java b/src/jalview/datamodel/AlignmentAnnotation.java index adc25c2..4f7fd93 100755 --- a/src/jalview/datamodel/AlignmentAnnotation.java +++ b/src/jalview/datamodel/AlignmentAnnotation.java @@ -101,6 +101,18 @@ public class AlignmentAnnotation public boolean belowAlignment = true; + public SequenceGroup groupRef =null ; + + + /* (non-Javadoc) + * @see java.lang.Object#finalize() + */ + protected void finalize() throws Throwable + { + groupRef = null; + super.finalize(); + } + public static int getGraphValueFromString(String string) { if (string.equalsIgnoreCase("BAR_GRAPH")) @@ -319,6 +331,7 @@ public class AlignmentAnnotation this.graph = annotation.graph; this.graphHeight = annotation.graphHeight; this.graphGroup = annotation.graphGroup; + this.groupRef = annotation.groupRef; this.editable = annotation.editable; this.autoCalculated = annotation.autoCalculated; this.hasIcons = annotation.hasIcons; -- 1.7.10.2