3 * Copyright (C) 2015 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
.navigation
.key
.polytomous
.handler
;
12 import org
.eclipse
.core
.commands
.ExecutionEvent
;
13 import org
.eclipse
.core
.commands
.operations
.AbstractOperation
;
14 import org
.eclipse
.core
.runtime
.IStatus
;
15 import org
.eclipse
.core
.runtime
.Status
;
17 import eu
.etaxonomy
.taxeditor
.navigation
.key
.polytomous
.PolytomousKeyViewLabels
;
18 import eu
.etaxonomy
.taxeditor
.navigation
.key
.polytomous
.operation
.RemotingUpdatePolytomousKeyAllNodesOperation
;
19 import eu
.etaxonomy
.taxeditor
.operation
.RemotingCdmHandler
;
26 public class RemotingUpdatePolytomousKeyAllNodesHandler
extends RemotingCdmHandler
{
31 public RemotingUpdatePolytomousKeyAllNodesHandler() {
32 super(PolytomousKeyViewLabels
.UPDATE_ALL_POLYTOMOUS_KEY_NODES_LABEL
);
36 * @see eu.etaxonomy.taxeditor.operation.RemotingCdmHandler#allowOperations(org.eclipse.core.commands.ExecutionEvent)
39 public IStatus
allowOperations(ExecutionEvent event
) {
40 return Status
.OK_STATUS
;
44 * @see eu.etaxonomy.taxeditor.operation.RemotingCdmHandler#prepareOperation(org.eclipse.core.commands.ExecutionEvent)
47 public AbstractOperation
prepareOperation(ExecutionEvent event
) {
48 return new RemotingUpdatePolytomousKeyAllNodesOperation(event
.getTrigger(), false);
52 * @see eu.etaxonomy.taxeditor.operation.RemotingCdmHandler#onComplete()
55 public void onComplete() {
56 // TODO Auto-generated method stub