From: amwaterhouse Date: Fri, 3 Feb 2006 17:45:32 +0000 (+0000) Subject: Save and load graph type X-Git-Tag: Root_VamJalview_2_07b+~173 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=65f3b4a9eadadb7540c329e710bce082ea1dd8a7;p=jalview.git Save and load graph type --- diff --git a/src/jalview/gui/Jalview2XML.java b/src/jalview/gui/Jalview2XML.java index 8406299..81a6887 100755 --- a/src/jalview/gui/Jalview2XML.java +++ b/src/jalview/gui/Jalview2XML.java @@ -309,8 +309,10 @@ public class Jalview2XML Annotation an = new Annotation(); an.setDescription(aa[i].description); if(aa[i].graph>0) + { an.setGraph(true); - + an.setGraphType(aa[i].graph); + } an.setLabel(aa[i].label); AnnotationElement ae; @@ -720,7 +722,7 @@ public class Jalview2XML { jaa = new jalview.datamodel.AlignmentAnnotation(an[i].getLabel(), an[i].getDescription(), anot, 0, 0, - jalview.datamodel.AlignmentAnnotation.BAR_GRAPH); + an[i].getGraphType()); } else {