Project

General

Profile

Download (928 Bytes) Statistics
| Branch: | Tag: | Revision:
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.handler;
10

    
11
import org.eclipse.e4.core.di.annotations.Execute;
12
import org.eclipse.jface.wizard.WizardDialog;
13

    
14
import eu.etaxonomy.taxeditor.databaseAdmin.wizard.ImportPreferencesWizard;
15
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
        ImportPreferencesWizard importPreferencesWizard = new ImportPreferencesWizard();
26
        WizardDialog dialog = new WizardDialog(AbstractUtility.getShell(),
27
                importPreferencesWizard);
28

    
29
        dialog.open();
30

    
31
        return null;
32
    }
33

    
34
}
(5-5/12)