had to rename the packages to make them compliant with buckminster
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / io / wizard / AbstractExportWizard.java
1 // $Id$
2 /**
3 * Copyright (C) 2007 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
11 package eu.etaxonomy.taxeditor.io.wizard;
12
13 import org.eclipse.jface.wizard.Wizard;
14 import org.eclipse.ui.IExportWizard;
15
16 import eu.etaxonomy.cdm.io.common.IIoConfigurator;
17
18 /**
19 * <p>Abstract AbstractExportWizard class.</p>
20 *
21 * @author n.hoffmann
22 * @created 24.06.2009
23 * @version 1.0
24 */
25 public abstract class AbstractExportWizard<CONFIG extends IIoConfigurator> extends Wizard implements IExportWizard{
26
27 protected final String CONFIGURATION_PAGE = "CONFIGURATION_PAGE";
28
29 private GenericConfiguratorWizardPage pageConfiguration;
30
31 /* (non-Javadoc)
32 * @see org.eclipse.jface.wizard.Wizard#addPages()
33 */
34 /** {@inheritDoc} */
35 @Override
36 public void addPages() {
37 super.addPages();
38
39 pageConfiguration = GenericConfiguratorWizardPage.Export(CONFIGURATION_PAGE, getConfigurator());
40 this.addPage(pageConfiguration);
41 }
42
43 /**
44 * <p>getConfigurator</p>
45 *
46 * @return a CONFIG object.
47 */
48 public abstract CONFIG getConfigurator();
49 }