3 * Copyright (C) 2016 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
10 package eu
.etaxonomy
.taxeditor
.molecular
.io
.wizard
;
13 import org
.eclipse
.jface
.wizard
.Wizard
;
15 import eu
.etaxonomy
.taxeditor
.molecular
.l10n
.Messages
;
20 * A wizard to export a single read alignment from <i>CDM</i> using <i>JPhyloIO</i>.
25 public class ExportSingleReadAlignmentWizard
extends Wizard
{
26 private ExportSingleReadAlignmentWizardModel model
= new ExportSingleReadAlignmentWizardModel();
28 private ExportSingleReadAlignmentFileFormatPage fileFormatPage
;
29 private ExportSingleReadAlignmentOptionsPage optionsPage
;
32 public ExportSingleReadAlignmentWizard() {
33 setWindowTitle(Messages
.ExportSingleReadAlignmentWizard_EXPORT_SINGLE_READ
); //TODO Use multi language message
37 public ExportSingleReadAlignmentWizardModel
getModel() {
43 public void addPages() {
44 fileFormatPage
= new ExportSingleReadAlignmentFileFormatPage();
45 optionsPage
= new ExportSingleReadAlignmentOptionsPage();
47 addPage(fileFormatPage
);
53 public boolean performFinish() {
55 //TODO Add default extension to file, if necessary?