db414d65f510316a2873e8d5b5d7b744f103e7bf
[taxeditor.git] / eclipseprojects / eu.etaxonomy.taxeditor / src / eu / etaxonomy / taxeditor / actions / name / CreateAutonymAction.java
1 /**
2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
5 *
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
8 */
9
10 package eu.etaxonomy.taxeditor.actions.name;
11
12 import org.apache.log4j.Logger;
13 import org.eclipse.jface.action.Action;
14 import org.eclipse.jface.resource.ImageDescriptor;
15
16 import eu.etaxonomy.cdm.model.taxon.Taxon;
17 import eu.etaxonomy.taxeditor.ITaxEditorConstants;
18 import eu.etaxonomy.taxeditor.TaxEditorPlugin;
19 import eu.etaxonomy.taxeditor.controller.EditorController;
20
21 /**
22 * @author n.hoffmann
23 * @created 02.02.2009
24 * @version 1.0
25 */
26 public class CreateAutonymAction extends Action {
27 private static final Logger logger = Logger.getLogger(CreateAutonymAction.class);
28
29 private static String text = "Create autonym";
30 private static ImageDescriptor image = TaxEditorPlugin.getDefault()
31 .getImageRegistry().getDescriptor(ITaxEditorConstants.AUTONYM_ICON);
32
33 public CreateAutonymAction(){
34 super(text, image);
35 }
36
37 public void run(){
38 Taxon taxon = EditorController.getActiveEditor().getTaxon();
39
40 logger.warn("Not implemented yet!");
41 }
42 }