Project

General

Profile

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

    
17
/**
18
 * @author k.luther
19
 * @since 05.03.2019
20
 *
21
 */
22
public class OpenUpdateSortIndicesHandler {
23

    
24
    @Execute
25
    public Object execute(){
26
        DatabaseRepairUpdateSortIndicesWizard databaseRepairWizard = new DatabaseRepairUpdateSortIndicesWizard();
27
        WizardDialog dialog = new WizardDialog(AbstractUtility.getShell(),
28
                databaseRepairWizard);
29

    
30
        dialog.open();
31

    
32
        return null;
33
    }
34

    
35

    
36
}
(3-3/4)