return null;
}
if (taxonNodeUuid == null || CdmStore.getService(IClassificationService.class).getTaxonNodeByUuid(UUID.fromString(taxonNodeUuid)) == null) {
- MessagingUtils.warn(this.getClass(), "Couldn't find taxon node with UUID " + taxonNodeUuid);
+ MessagingUtils.warn(this.getClass(), Messages.TaxonEditorInputFactory_NOT_FOUND_TAXON + taxonNodeUuid);
return null;
}
try {
return TaxonEditorInput.NewInstance(UUID.fromString(taxonNodeUuid));
} catch (Exception e) {
- MessagingUtils.warningDialog("Could not create element", TaxonEditorInputFactory.class, e.getMessage());
+ MessagingUtils.warningDialog(Messages.TaxonEditorInputFactory_COULD_NOT_CREATE, TaxonEditorInputFactory.class, e.getMessage());
}
return null;
}