From: amwaterhouse Date: Thu, 10 May 2007 08:10:03 +0000 (+0000) Subject: visibility setting X-Git-Tag: Release_2_3~5 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=266c4e2544701f88a8d21294b4a4f4cc42cf76cc;p=jalview.git visibility setting --- diff --git a/src/jalview/gui/Jalview2XML.java b/src/jalview/gui/Jalview2XML.java index aa1abb3..061dfca 100755 --- a/src/jalview/gui/Jalview2XML.java +++ b/src/jalview/gui/Jalview2XML.java @@ -1345,10 +1345,13 @@ public class Jalview2XML if (an[i].getId() != null && annotationIds.containsKey(an[i].getId())) { - al.addAnnotation( + jalview.datamodel.AlignmentAnnotation jda = (jalview.datamodel.AlignmentAnnotation) annotationIds.get(an[i]. - getId()) - ); + getId()); + if (an[i].hasVisible()) + jda.visible = an[i].getVisible(); + + al.addAnnotation(jda); continue; }