Revision 61c51c84
Added by Patrick Plitzner about 7 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/handler/SwapSynonymAndAcceptedHandler.java | ||
---|---|---|
23 | 23 |
import eu.etaxonomy.cdm.model.taxon.Synonym; |
24 | 24 |
import eu.etaxonomy.cdm.model.taxon.Taxon; |
25 | 25 |
import eu.etaxonomy.taxeditor.editor.EditorUtil; |
26 |
import eu.etaxonomy.taxeditor.editor.Messages; |
|
26 | 27 |
import eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor; |
27 | 28 |
import eu.etaxonomy.taxeditor.editor.name.operation.SwapSynonymAndAcceptedOperation; |
28 | 29 |
import eu.etaxonomy.taxeditor.model.MessagingUtils; |
... | ... | |
70 | 71 |
EditorUtil.executeOperation(operation); |
71 | 72 |
|
72 | 73 |
} catch (NotDefinedException e) { |
73 |
logger.warn("Command name not set"); |
|
74 |
logger.warn("Command name not set"); //$NON-NLS-1$
|
|
74 | 75 |
} |
75 | 76 |
|
76 | 77 |
return null; |
... | ... | |
109 | 110 |
EditorUtil.openTaxonBase(taxon.getUuid()); |
110 | 111 |
|
111 | 112 |
} catch (Exception e) { |
112 |
MessagingUtils.warningDialog("Could not open editor for taxon", this, e.getMessage());
|
|
113 |
MessagingUtils.warningDialog(Messages.SwapSynonymAndAcceptedHandler_COULD_NOT_OPEN, this, e.getMessage());
|
|
113 | 114 |
} |
114 | 115 |
|
115 | 116 |
} |
Also available in: Unified diff
ref #4611 i18n for taxeditor.editor plugin