3 * Copyright (C) 2007 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.
11 package eu
.etaxonomy
.taxeditor
.ui
.translation
;
15 import org
.eclipse
.jface
.wizard
.Wizard
;
17 import eu
.etaxonomy
.cdm
.model
.common
.Language
;
18 import eu
.etaxonomy
.cdm
.model
.common
.LanguageString
;
21 * <p>TranslationWizard class.</p>
24 * @created Sep 29, 2010
27 public class TranslationWizard
extends Wizard
{
29 private TranslationWizardPage page
;
31 private Map
<Language
, LanguageString
> multilanguageText
;
34 * <p>Constructor for TranslationWizard.</p>
36 * @param multilanguageText a {@link java.util.Map} object.
38 public TranslationWizard(Map
<Language
, LanguageString
> multilanguageText
) {
39 setWindowTitle("Translation Editor");
40 this.multilanguageText
= multilanguageText
;
41 setNeedsProgressMonitor(true);
45 * @see org.eclipse.jface.wizard.Wizard#addPages()
49 public void addPages() {
50 page
= new TranslationWizardPage(multilanguageText
);
55 * @see org.eclipse.jface.wizard.Wizard#performFinish()
59 public boolean performFinish() {