82a847c39ba3eb5c03153da8aa7366dae14eb9de
[taxeditor.git] / eu.etaxonomy.taxeditor.editor / src / main / java / eu / etaxonomy / taxeditor / editor / view / dataimport / SpecimenImportEditor.java
1 // $Id$
2 /**
3 * Copyright (C) 2013 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
6 *
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
9 */
10 package eu.etaxonomy.taxeditor.editor.view.dataimport;
11
12 import eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase;
13
14 /**
15 * Extension of {@link DataImportEditor} to display and import objects of type {@link SpecimenOrObservationBase}.
16 * @author pplitzner
17 * @date 20.09.2013
18 *
19 */
20 public class SpecimenImportEditor extends DataImportEditor<SpecimenOrObservationBase<?>> {
21
22 public static final String ID = "eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor";
23
24 /**
25 * Required for extension point
26 */
27 public SpecimenImportEditor() {
28 super();
29 }
30
31 /* (non-Javadoc)
32 * @see eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditor#getTextForTableItem(eu.etaxonomy.cdm.model.common.IIdentifiableEntity)
33 */
34 @Override
35 protected String getTextForTableItem(SpecimenOrObservationBase<?> item) {
36 return item.generateTitle();
37 }
38 }