1 package eu
.etaxonomy
.taxeditor
.editor
.view
.derivate
.handler
;
3 import org
.eclipse
.core
.commands
.AbstractHandler
;
4 import org
.eclipse
.core
.commands
.ExecutionEvent
;
5 import org
.eclipse
.core
.commands
.ExecutionException
;
6 import org
.eclipse
.ui
.handlers
.HandlerUtil
;
8 import eu
.etaxonomy
.taxeditor
.editor
.view
.derivate
.DerivateView
;
10 public class ToggleLinkWithTaxonSelectionHandler
extends AbstractHandler
{
13 public Object
execute(ExecutionEvent event
) throws ExecutionException
{
14 DerivateView derivateView
= (DerivateView
) HandlerUtil
.getActiveEditor(event
);
15 derivateView
.toggleListenToSelectionChange();