Project

General

Profile

Download (994 Bytes) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2016 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.DatabaseRepairUpdateCachesWizard;
15
import eu.etaxonomy.taxeditor.model.AbstractUtility;
16

    
17

    
18

    
19
/**
20
 * @author k.luther
21
 * @date 06.12.2016
22
 *
23
 */
24
public class OpenDatabaseRepairWizardHandler{
25

    
26
    /**
27
     * {@inheritDoc}
28
     */
29
    @Execute
30
    public Object execute(){
31
        DatabaseRepairUpdateCachesWizard databaseRepairWizard = new DatabaseRepairUpdateCachesWizard();
32
        WizardDialog dialog = new WizardDialog(AbstractUtility.getShell(),
33
                databaseRepairWizard);
34

    
35
        dialog.open();
36

    
37
        return null;
38
    }
39

    
40

    
41

    
42
}
(1-1/4)