Revision 947bebd6
Added by Katja Luther over 8 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/operation/DeleteSynonymOperation.java | ||
---|---|---|
79 | 79 |
element.removeSynonym(synonym); |
80 | 80 |
|
81 | 81 |
} else { |
82 |
|
|
82 |
//TODO: this should be moved to the handler, the operations should not contain ui code |
|
83 | 83 |
DeleteResult result = service.deleteSynonym(synonym.getUuid(), element.getUuid(), null); |
84 | 84 |
if (result.isError()){ |
85 | 85 |
DeleteResultMessagingUtils.messageDialogWithDetails(result, "Delete failed", TaxeditorEditorPlugin.PLUGIN_ID); |
Also available in: Unified diff
#5114 fix