{\r
String annotation = new AnnotationFile().printAnnotations(\r
viewport.showAnnotation ? viewport.alignment.getAlignmentAnnotation() : null,\r
- viewport.alignment.getGroups());\r
+ viewport.alignment.getGroups(),\r
+ ((Alignment)viewport.alignment).alignmentProperties);\r
\r
if (displayTextbox)\r
{\r
boolean features = true;\r
AlignmentAnnotation[] annotations;\r
Vector sequenceGroups;\r
+ Hashtable alignmentProperties;\r
\r
public AnnotationExporter()\r
{\r
\r
public void exportAnnotations(AlignmentPanel ap,\r
AlignmentAnnotation[] annotations,\r
- Vector sequenceGroups)\r
+ Vector sequenceGroups,\r
+ Hashtable alProperties)\r
{\r
this.ap = ap;\r
features = false;\r
GFFFormat.setVisible(false);\r
this.annotations = annotations;\r
this.sequenceGroups = sequenceGroups;\r
+ this.alignmentProperties = alProperties;\r
frame.setTitle("Export Annotations");\r
}\r
\r
{\r
text = new AnnotationFile().printAnnotations(\r
annotations,\r
- sequenceGroups);\r
+ sequenceGroups,\r
+ alignmentProperties);\r
}\r
\r
try\r
{\r
text = new AnnotationFile().printAnnotations(\r
annotations,\r
- sequenceGroups);\r
+ sequenceGroups,\r
+ alignmentProperties);\r
}\r
\r
CutAndPasteTransfer cap = new CutAndPasteTransfer();\r