Revision 5fe42cdd
Added by Cherian Mathew over 8 years ago
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/key/polytomous/PolytomousKeyViewLabels.java | ||
---|---|---|
17 | 17 |
public interface PolytomousKeyViewLabels { |
18 | 18 |
|
19 | 19 |
public static final String DELETE_POLYTOMOUS_KEY_LABEL = "Delete Polytomous Key"; |
20 |
public static final String UPDATE_ALL_POLYTOMOUS_KEY_NODES_LABEL = "Update All Polytomous Key Nodes"; |
|
20 | 21 |
|
21 | 22 |
} |
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/key/polytomous/handler/RemotingPolytomousKeyUpdateAllNodesHandler.java | ||
---|---|---|
1 |
// $Id$ |
|
2 |
/** |
|
3 |
* Copyright (C) 2015 EDIT |
|
4 |
* European Distributed Institute of Taxonomy |
|
5 |
* http://www.e-taxonomy.eu |
|
6 |
* |
|
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. |
|
9 |
*/ |
|
10 |
package eu.etaxonomy.taxeditor.navigation.key.polytomous.handler; |
|
11 |
|
|
12 |
import org.eclipse.core.commands.ExecutionEvent; |
|
13 |
import org.eclipse.core.commands.operations.AbstractOperation; |
|
14 |
import org.eclipse.core.runtime.IStatus; |
|
15 |
|
|
16 |
import eu.etaxonomy.taxeditor.navigation.key.polytomous.PolytomousKeyViewLabels; |
|
17 |
import eu.etaxonomy.taxeditor.operation.RemotingCdmHandler; |
|
18 |
|
|
19 |
/** |
|
20 |
* @author cmathew |
|
21 |
* @date 29 Jun 2015 |
|
22 |
* |
|
23 |
*/ |
|
24 |
public class RemotingPolytomousKeyUpdateAllNodesHandler extends RemotingCdmHandler { |
|
25 |
|
|
26 |
/** |
|
27 |
* @param label |
|
28 |
*/ |
|
29 |
public RemotingPolytomousKeyUpdateAllNodesHandler() { |
|
30 |
super(PolytomousKeyViewLabels.UPDATE_ALL_POLYTOMOUS_KEY_NODES_LABEL); |
|
31 |
} |
|
32 |
|
|
33 |
/* (non-Javadoc) |
|
34 |
* @see eu.etaxonomy.taxeditor.operation.RemotingCdmHandler#allowOperations(org.eclipse.core.commands.ExecutionEvent) |
|
35 |
*/ |
|
36 |
@Override |
|
37 |
public IStatus allowOperations(ExecutionEvent event) { |
|
38 |
// TODO Auto-generated method stub |
|
39 |
return null; |
|
40 |
} |
|
41 |
|
|
42 |
/* (non-Javadoc) |
|
43 |
* @see eu.etaxonomy.taxeditor.operation.RemotingCdmHandler#prepareOperation(org.eclipse.core.commands.ExecutionEvent) |
|
44 |
*/ |
|
45 |
@Override |
|
46 |
public AbstractOperation prepareOperation(ExecutionEvent event) { |
|
47 |
// TODO Auto-generated method stub |
|
48 |
return null; |
|
49 |
} |
|
50 |
|
|
51 |
/* (non-Javadoc) |
|
52 |
* @see eu.etaxonomy.taxeditor.operation.RemotingCdmHandler#onComplete() |
|
53 |
*/ |
|
54 |
@Override |
|
55 |
public void onComplete() { |
|
56 |
// TODO Auto-generated method stub |
|
57 |
|
|
58 |
} |
|
59 |
|
|
60 |
} |
Also available in: Unified diff
#5009 : Add handler for update all nodes operation