git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added CSV export of annotation rows to application.
[jalview.git]
/
src
/
jalview
/
appletgui
/
AnnotationLabels.java
diff --git
a/src/jalview/appletgui/AnnotationLabels.java
b/src/jalview/appletgui/AnnotationLabels.java
index
1884a08
..
5ddaa5e
100755
(executable)
--- a/
src/jalview/appletgui/AnnotationLabels.java
+++ b/
src/jalview/appletgui/AnnotationLabels.java
@@
-157,19
+157,31
@@
public class AnnotationLabels
boolean editLabelDescription(AlignmentAnnotation annotation)
{
boolean editLabelDescription(AlignmentAnnotation annotation)
{
+ Checkbox padGaps = new Checkbox("Fill Empty Gaps With \""
+ +ap.av.getGapCharacter()+"\"",
+ annotation.padGaps);
+
EditNameDialog dialog = new EditNameDialog(
annotation.label,
annotation.description,
EditNameDialog dialog = new EditNameDialog(
annotation.label,
annotation.description,
- " Annotation Label",
+ " Annotation Label",
"Annotation Description",
ap.alignFrame,
"Edit Annotation Name / Description",
"Annotation Description",
ap.alignFrame,
"Edit Annotation Name / Description",
- 500, 100);
+ 500, 180, false);
+
+ Panel empty = new Panel(new FlowLayout());
+ empty.add(padGaps);
+ dialog.add(empty);
+ dialog.pack();
+
+ dialog.setVisible(true);
if (dialog.accept)
{
annotation.label = dialog.getName();
annotation.description = dialog.getDescription();
if (dialog.accept)
{
annotation.label = dialog.getName();
annotation.description = dialog.getDescription();
+ annotation.setPadGaps(padGaps.getState(), av.getGapCharacter());
repaint();
return true;
}
repaint();
return true;
}