Revision 61c51c84
Added by Patrick Plitzner about 7 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/operation/ChangeSynonymToAcceptedTaxonOperation.java | ||
---|---|---|
25 | 25 |
import eu.etaxonomy.cdm.model.taxon.Synonym; |
26 | 26 |
import eu.etaxonomy.cdm.model.taxon.Taxon; |
27 | 27 |
import eu.etaxonomy.cdm.model.taxon.TaxonNode; |
28 |
import eu.etaxonomy.taxeditor.editor.Messages; |
|
28 | 29 |
import eu.etaxonomy.taxeditor.model.MessagingUtils; |
29 | 30 |
import eu.etaxonomy.taxeditor.operation.AbstractPersistentPostOperation; |
30 | 31 |
import eu.etaxonomy.taxeditor.operation.IPostOperationEnabled; |
... | ... | |
89 | 90 |
parentNode.getUuid(), |
90 | 91 |
true).getCdmEntity(); |
91 | 92 |
} catch (HomotypicalGroupChangeException e) { |
92 |
MessagingUtils.warningDialog("Operation may lead to inconsistent data", getClass(), e.getMessage());
|
|
93 |
MessagingUtils.warningDialog(Messages.ChangeSynonymToAcceptedTaxonOperation_INCONSISTENT_DATA, getClass(), e.getMessage());
|
|
93 | 94 |
return postExecute(null); |
94 | 95 |
} |
95 | 96 |
monitor.worked(20); |
... | ... | |
124 | 125 |
throws ExecutionException { |
125 | 126 |
|
126 | 127 |
// TODO implement - biggest problem is that any window open for new taxon must be closed first |
127 |
MessagingUtils.warn(this.getClass(), "Not yet implemented");
|
|
128 |
MessagingUtils.warn(this.getClass(), Messages.ChangeSynonymToAcceptedTaxonOperation_NOT_IMPLEMENTED);
|
|
128 | 129 |
|
129 | 130 |
return postExecute(element); |
130 | 131 |
} |
Also available in: Unified diff
ref #4611 i18n for taxeditor.editor plugin