3 * Copyright (C) 2014 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
10 package eu
.etaxonomy
.taxeditor
.handler
;
12 import org
.eclipse
.core
.commands
.AbstractHandler
;
13 import org
.eclipse
.core
.commands
.ExecutionEvent
;
14 import org
.eclipse
.core
.commands
.ExecutionException
;
15 import org
.eclipse
.jface
.wizard
.WizardDialog
;
17 import eu
.etaxonomy
.taxeditor
.preference
.wizard
.AvailableDistributionWizard
;
18 import eu
.etaxonomy
.taxeditor
.store
.StoreUtil
;
25 public class OpenDistributionEditorWizardHandler
extends AbstractHandler
{
27 String commandID
= "eu.etaxonomy.taxeditor.store.open.OpenDistributionEditorWizardHandler";
30 public Object
execute(ExecutionEvent event
) throws ExecutionException
{
31 AvailableDistributionWizard availableDistributionWizard
= new AvailableDistributionWizard();
32 WizardDialog dialog
= new WizardDialog(StoreUtil
.getShell(),
33 availableDistributionWizard
);