Revision 0a72efb6
Added by Cherian Mathew almost 9 years ago
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/key/polytomous/handler/RemotingUpdatePolytomousKeyAllNodesHandler.java | ||
---|---|---|
12 | 12 |
import org.eclipse.core.commands.ExecutionEvent; |
13 | 13 |
import org.eclipse.core.commands.operations.AbstractOperation; |
14 | 14 |
import org.eclipse.core.runtime.IStatus; |
15 |
import org.eclipse.core.runtime.Status; |
|
15 | 16 |
|
16 | 17 |
import eu.etaxonomy.taxeditor.navigation.key.polytomous.PolytomousKeyViewLabels; |
18 |
import eu.etaxonomy.taxeditor.navigation.key.polytomous.operation.RemotingUpdatePolytomousKeyAllNodesOperation; |
|
17 | 19 |
import eu.etaxonomy.taxeditor.operation.RemotingCdmHandler; |
18 | 20 |
|
19 | 21 |
/** |
... | ... | |
35 | 37 |
*/ |
36 | 38 |
@Override |
37 | 39 |
public IStatus allowOperations(ExecutionEvent event) { |
38 |
// TODO Auto-generated method stub |
|
39 |
return null; |
|
40 |
return Status.OK_STATUS; |
|
40 | 41 |
} |
41 | 42 |
|
42 | 43 |
/* (non-Javadoc) |
... | ... | |
44 | 45 |
*/ |
45 | 46 |
@Override |
46 | 47 |
public AbstractOperation prepareOperation(ExecutionEvent event) { |
47 |
// TODO Auto-generated method stub |
|
48 |
return null; |
|
48 |
return new RemotingUpdatePolytomousKeyAllNodesOperation(event.getTrigger(), false); |
|
49 | 49 |
} |
50 | 50 |
|
51 | 51 |
/* (non-Javadoc) |
Also available in: Unified diff
#5009 Update plugin to use remoting handlers