2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
10 package eu
.etaxonomy
.taxeditor
.io
.wizard
;
12 import org
.eclipse
.jface
.wizard
.Wizard
;
13 import org
.eclipse
.ui
.IExportWizard
;
15 import eu
.etaxonomy
.cdm
.io
.common
.IIoConfigurator
;
18 * <p>Abstract AbstractExportWizard class.</p>
24 public abstract class AbstractExportWizard
<CONFIG
extends IIoConfigurator
> extends Wizard
implements IExportWizard
{
26 protected final String CONFIGURATION_PAGE
= "CONFIGURATION_PAGE";
28 private GenericConfiguratorWizardPage pageConfiguration
;
31 * @see org.eclipse.jface.wizard.Wizard#addPages()
35 public void addPages() {
38 pageConfiguration
= GenericConfiguratorWizardPage
.Export(CONFIGURATION_PAGE
, getConfigurator());
39 this.addPage(pageConfiguration
);
43 * <p>getConfigurator</p>
45 * @return a CONFIG object.
47 public abstract CONFIG
getConfigurator();