Revision 61c51c84
Added by Patrick Plitzner about 7 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/operation/MoveSynonymToAnotherAcceptedTaxonOperation.java | ||
---|---|---|
48 | 48 |
|
49 | 49 |
super(label, undoContext, taxon, postOperationEnabled); |
50 | 50 |
List<String> propertyPaths = new ArrayList<String>(); |
51 |
propertyPaths.add("synonymRelations"); |
|
51 |
propertyPaths.add("synonymRelations"); //$NON-NLS-1$
|
|
52 | 52 |
this.element = (Taxon) CdmStore.getService(ITaxonService.class).load(taxon.getUuid(),propertyPaths); |
53 | 53 |
this.oldTaxon = (Taxon) CdmStore.getService(ITaxonService.class).load(oldTaxonUUID); |
54 | 54 |
this.synonym = (Synonym) CdmStore.getService(ITaxonService.class).load(synonymUUID); |
55 | 55 |
if(synonym == null){ |
56 | 56 |
throw new IllegalArgumentException( |
57 |
"A null synonym was provided."); |
|
57 |
"A null synonym was provided."); //$NON-NLS-1$
|
|
58 | 58 |
} |
59 | 59 |
} |
60 | 60 |
|
Also available in: Unified diff
ref #4611 i18n for taxeditor.editor plugin