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:
4ec2353
)
ensure annotation row height is honoured for new VAMSAS annotation
author
jprocter
<Jim Procter>
Wed, 24 Jun 2009 08:31:44 +0000
(08:31 +0000)
committer
jprocter
<Jim Procter>
Wed, 24 Jun 2009 08:31:44 +0000
(08:31 +0000)
src/jalview/io/VamsasAppDatastore.java
patch
|
blob
|
history
diff --git
a/src/jalview/io/VamsasAppDatastore.java
b/src/jalview/io/VamsasAppDatastore.java
index
e21a9ed
..
a9219a6
100644
(file)
--- a/
src/jalview/io/VamsasAppDatastore.java
+++ b/
src/jalview/io/VamsasAppDatastore.java
@@
-1723,6
+1723,7
@@
public class VamsasAppDatastore
// positions.
alseq.addAlignmentAnnotation(asa);
bindjvvobj(asa, vasannot[a]);
// positions.
alseq.addAlignmentAnnotation(asa);
bindjvvobj(asa, vasannot[a]);
+ refreshal = true;
newasAnnots.add(asa);
}
else
newasAnnots.add(asa);
}
else
@@
-1811,8
+1812,10
@@
public class VamsasAppDatastore
else
{
jan = getjAlignmentAnnotation(jal, an[j]);
else
{
jan = getjAlignmentAnnotation(jal, an[j]);
+ // TODO: ensure we add the alignment annotation before the automatic annotation rows
jal.addAnnotation(jan);
bindjvvobj(jan, an[j]);
jal.addAnnotation(jan);
bindjvvobj(jan, an[j]);
+ refreshal = true;
}
}
}
}
}
}
@@
-1862,6
+1865,7
@@
public class VamsasAppDatastore
if (refreshal)
{
av.alignmentChanged(alignFrame.alignPanel);
if (refreshal)
{
av.alignmentChanged(alignFrame.alignPanel);
+ alignFrame.alignPanel.adjustAnnotationHeight();
}
}
// LOAD TREES
}
}
// LOAD TREES