Revision f8757840
Added by Katja Luther about 3 years ago
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/e4/handler/CopyHandler.java | ||
---|---|---|
38 | 38 |
MHandledMenuItem menuItem) { |
39 | 39 |
boolean canExecute = false; |
40 | 40 |
BulkEditorE4 editor = (BulkEditorE4) activePart.getObject(); |
41 |
IStructuredSelection selection = editor.getSelection(); |
|
41 |
IStructuredSelection selection = editor.getCellSelection();
|
|
42 | 42 |
canExecute = selection.size()==1; |
43 | 43 |
menuItem.setVisible(canExecute); |
44 | 44 |
return canExecute; |
Also available in: Unified diff
ref #9544: all elements of bulkeditor should be copyable