(Writer writer)
| 1393 | } |
| 1394 | |
| 1395 | protected void writeTaxa(Writer writer) throws IOException { |
| 1396 | PrintWriter printWriter = new PrintWriter(writer); |
| 1397 | for (Taxon taxon : treeViewer.getSelectedTaxa()) { |
| 1398 | printWriter.println(taxon.getName()); |
| 1399 | } |
| 1400 | writer.close(); |
| 1401 | } |
| 1402 | |
| 1403 | protected void writeTreeFile(Writer writer, ExportTreeDialog.Format format, |
| 1404 | boolean writeAllTrees, |
no test coverage detected