2 * Copyright (C) 2019 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
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.
9 package eu
.etaxonomy
.taxeditor
.handler
;
11 import org
.eclipse
.e4
.core
.di
.annotations
.Execute
;
12 import org
.eclipse
.jface
.wizard
.WizardDialog
;
14 import eu
.etaxonomy
.taxeditor
.databaseAdmin
.wizard
.DatabaseRepairUpdateSortIndicesWizard
;
15 import eu
.etaxonomy
.taxeditor
.model
.AbstractUtility
;
22 public class OpenUpdateSortIndicesHandler
{
25 public Object
execute(){
26 DatabaseRepairUpdateSortIndicesWizard databaseRepairWizard
= new DatabaseRepairUpdateSortIndicesWizard();
27 WizardDialog dialog
= new WizardDialog(AbstractUtility
.getShell(),
28 databaseRepairWizard
);