package jalview.gui;\r
\r
import java.util.*;\r
+import java.util.List;\r
\r
import java.awt.*;\r
import java.awt.event.*;\r
\r
AlignmentAnnotation[] annotations;\r
\r
- Vector sequenceGroups;\r
+ List<SequenceGroup> sequenceGroups;\r
\r
Hashtable alignmentProperties;\r
\r
frame = new JInternalFrame();\r
frame.setContentPane(this);\r
frame.setLayer(JLayeredPane.PALETTE_LAYER);\r
- Desktop.addInternalFrame(frame, "", frame.getPreferredSize().width, frame.getPreferredSize().height);\r
+ Desktop.addInternalFrame(frame, "", frame.getPreferredSize().width,\r
+ frame.getPreferredSize().height);\r
}\r
\r
public void exportFeatures(AlignmentPanel ap)\r
}\r
\r
public void exportAnnotations(AlignmentPanel ap,\r
- AlignmentAnnotation[] annotations, Vector sequenceGroups,\r
+ AlignmentAnnotation[] annotations, List<SequenceGroup> list,\r
Hashtable alProperties)\r
{\r
this.ap = ap;\r
GFFFormat.setVisible(false);\r
CSVFormat.setVisible(true);\r
this.annotations = annotations;\r
- this.sequenceGroups = sequenceGroups;\r
+ this.sequenceGroups = list;\r
this.alignmentProperties = alProperties;\r
frame.setTitle("Export Annotations");\r
}\r
private void jbInit() throws Exception\r
{\r
this.setLayout(new BorderLayout());\r
- \r
+\r
toFile.setText("to File");\r
toFile.addActionListener(new ActionListener()\r
{\r