Merge branch 'develop' into LibrAlign
[taxeditor.git] / eu.etaxonomy.taxeditor.molecular / src / main / java / eu / etaxonomy / taxeditor / molecular / io / wizard / ExportSingleReadAlignmentWizard.java
1 // $Id$
2 /**
3 * Copyright (C) 2016 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
6 *
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.
9 */
10 package eu.etaxonomy.taxeditor.molecular.io.wizard;
11
12
13 import org.eclipse.jface.wizard.Wizard;
14
15
16
17 /**
18 * A wizard to export a single read alignment from <i>CDM</i> using <i>JPhyloIO</i>.
19 *
20 * @author Ben Stöver
21 * @date 23.06.2016
22 */
23 public class ExportSingleReadAlignmentWizard extends Wizard {
24 private ExportSingleReadAlignmentWizardModel model = new ExportSingleReadAlignmentWizardModel();
25
26 private ExportSingleReadAlignmentFileFormatPage fileFormatPage;
27 private ExportSingleReadAlignmentOptionsPage optionsPage;
28
29
30 public ExportSingleReadAlignmentWizard() {
31 setWindowTitle("Export single read alignment"); //TODO Use multi language message
32 }
33
34
35 public ExportSingleReadAlignmentWizardModel getModel() {
36 return model;
37 }
38
39
40 @Override
41 public void addPages() {
42 fileFormatPage = new ExportSingleReadAlignmentFileFormatPage();
43 optionsPage = new ExportSingleReadAlignmentOptionsPage();
44
45 addPage(fileFormatPage);
46 addPage(optionsPage);
47 }
48
49
50 @Override
51 public boolean performFinish() {
52 return true;
53 //TODO Add default extension to file, if necessary?
54 }
55 }