\r
import java.awt.Color;\r
import java.awt.FlowLayout;\r
+import java.util.Vector;\r
import javax.swing.BorderFactory;\r
\r
\r
AlignmentPanel ap;\r
boolean features = true;\r
AlignmentAnnotation [] annotations;\r
+ Vector sequenceGroups;\r
\r
public AnnotationExporter()\r
{\r
}\r
\r
public void exportAnnotations(AlignmentPanel ap,\r
- AlignmentAnnotation [] annotations)\r
+ AlignmentAnnotation [] annotations,\r
+ Vector sequenceGroups)\r
{\r
this.ap = ap;\r
features = false;\r
GFFFormat.setVisible(false);\r
this.annotations = annotations;\r
+ this.sequenceGroups = sequenceGroups;\r
frame.setTitle("Export Annotations");\r
}\r
\r
}\r
else\r
{\r
- text = new AnnotationFile().printAnnotations( annotations );\r
+ text = new AnnotationFile().printAnnotations(\r
+ annotations,\r
+ sequenceGroups );\r
}\r
\r
try\r
}\r
else if(!features)\r
{\r
- text = new AnnotationFile().printAnnotations( annotations );\r
+ text = new AnnotationFile().printAnnotations(\r
+ annotations,\r
+ sequenceGroups );\r
}\r
\r
\r