1 |
ceadb607
|
Katja Luther
|
/**
|
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.handler;
|
10 |
|
|
|
11 |
|
|
import org.eclipse.e4.core.di.annotations.Execute;
|
12 |
|
|
import org.eclipse.jface.wizard.WizardDialog;
|
13 |
|
|
|
14 |
4ddda5ae
|
Katja Luther
|
import eu.etaxonomy.taxeditor.databaseAdmin.wizard.ImportPreferencesWizard;
|
15 |
ceadb607
|
Katja Luther
|
import eu.etaxonomy.taxeditor.model.AbstractUtility;
|
16 |
|
|
|
17 |
|
|
/**
|
18 |
|
|
* @author k.luther
|
19 |
|
|
* @date 19.04.2017
|
20 |
|
|
*
|
21 |
|
|
*/
|
22 |
|
|
public class OpenImportPreferenceHandler {
|
23 |
|
|
@Execute
|
24 |
|
|
public Object execute(){
|
25 |
4ddda5ae
|
Katja Luther
|
ImportPreferencesWizard importPreferencesWizard = new ImportPreferencesWizard();
|
26 |
ceadb607
|
Katja Luther
|
WizardDialog dialog = new WizardDialog(AbstractUtility.getShell(),
|
27 |
|
|
importPreferencesWizard);
|
28 |
|
|
|
29 |
|
|
dialog.open();
|
30 |
|
|
|
31 |
|
|
return null;
|
32 |
|
|
}
|
33 |
|
|
|
34 |
|
|
}
|