git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fdd56f
)
Save and load graph type
author
amwaterhouse
<Andrew Waterhouse>
Fri, 3 Feb 2006 17:45:32 +0000
(17:45 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Fri, 3 Feb 2006 17:45:32 +0000
(17:45 +0000)
src/jalview/gui/Jalview2XML.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/Jalview2XML.java
b/src/jalview/gui/Jalview2XML.java
index
8406299
..
81a6887
100755
(executable)
--- a/
src/jalview/gui/Jalview2XML.java
+++ b/
src/jalview/gui/Jalview2XML.java
@@
-309,8
+309,10
@@
public class Jalview2XML
Annotation an = new Annotation();
\r
an.setDescription(aa[i].description);
\r
if(aa[i].graph>0)
\r
+ {
\r
an.setGraph(true);
\r
-
\r
+ an.setGraphType(aa[i].graph);
\r
+ }
\r
an.setLabel(aa[i].label);
\r
\r
AnnotationElement ae;
\r
@@
-720,7
+722,7
@@
public class Jalview2XML
{
\r
jaa = new jalview.datamodel.AlignmentAnnotation(an[i].getLabel(),
\r
an[i].getDescription(), anot, 0, 0,
\r
- jalview.datamodel.AlignmentAnnotation.BAR_GRAPH);
\r
+ an[i].getGraphType());
\r
}
\r
else
\r
{
\r