Checkin before attempting to databind tax. tree to "add new taxon" and propertysheet...
[taxeditor.git] / eclipseprojects / eu.etaxonomy.taxeditor.prototype2 / src / eu / etaxonomy / taxeditor / prototype2 / controller / DeleteTaxonAction.java
1 package eu.etaxonomy.taxeditor.prototype2.controller;
2
3 import org.eclipse.jface.action.Action;
4
5 import eu.etaxonomy.cdm.model.taxon.Taxon;
6 import eu.etaxonomy.taxeditor.prototype2.Activator;
7
8 /**
9 * Delete this taxon from the CDM
10 *
11 * @author p.ciardelli
12 *
13 */
14 public class DeleteTaxonAction extends Action {
15 Taxon taxon;
16
17 public DeleteTaxonAction(Taxon taxon) {
18 this.taxon = taxon;
19 }
20
21 public void run() {
22 // Activator.getDefault().getCdmApp().getTaxonService().saveTaxon(taxon);
23 }
24 }