1
|
/**
|
2
|
* Copyright (C) 2017 EDIT
|
3
|
* European Distributed Institute of Taxonomy
|
4
|
* http://www.e-taxonomy.eu
|
5
|
*
|
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.
|
8
|
*/
|
9
|
package eu.etaxonomy.taxeditor.databaseAdmin.wizard;
|
10
|
|
11
|
import org.eclipse.jface.wizard.Wizard;
|
12
|
|
13
|
import eu.etaxonomy.taxeditor.io.wizard.AbcdImportConfiguratorWizardPage;
|
14
|
import eu.etaxonomy.taxeditor.preference.PreferencesUtil;
|
15
|
|
16
|
/**
|
17
|
* @author k.luther
|
18
|
* @date 19.04.2017
|
19
|
*
|
20
|
*/
|
21
|
public class ImportPreferencesWizard extends Wizard {
|
22
|
|
23
|
public AbcdImportConfiguratorWizardPage configPage;
|
24
|
|
25
|
public ImportPreferencesWizard() {
|
26
|
setWindowTitle("Abcd Import Configuration Wizard");
|
27
|
|
28
|
configPage = AbcdImportConfiguratorWizardPage.createPreferencePage(PreferencesUtil.getLocalAbcdImportConfigurator());
|
29
|
|
30
|
}
|
31
|
@Override
|
32
|
public void addPages() {
|
33
|
addPage(configPage);
|
34
|
}
|
35
|
/**
|
36
|
* {@inheritDoc}
|
37
|
*/
|
38
|
@Override
|
39
|
public boolean performFinish() {
|
40
|
String configString = "";
|
41
|
this.configPage.saveConfigToPrefernceStore();
|
42
|
|
43
|
|
44
|
|
45
|
return true;
|
46
|
}
|
47
|
|
48
|
|
49
|
|
50
|
}
|