1 package eu
.etaxonomy
.taxeditor
.actions
.cdm
;
3 import org
.apache
.log4j
.Logger
;
4 import org
.eclipse
.jface
.action
.Action
;
6 import eu
.etaxonomy
.cdm
.model
.taxon
.Taxon
;
7 import eu
.etaxonomy
.taxeditor
.model
.CdmSessionDataRepository
;
10 * Commit any changes to this taxon to the CDM
15 public class SaveTaxonAction
extends Action
{
16 private static final Logger logger
= Logger
.getLogger(SaveTaxonAction
.class);
20 public SaveTaxonAction(Taxon taxon
) {
27 // Save the taxon to the CDM
28 CdmSessionDataRepository
.getDefault().saveTaxon(taxon
);