Project

General

Profile

Download (1.13 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2013 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
package eu.etaxonomy.taxeditor.view.dataimport;
10

    
11
import eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase;
12

    
13
/**
14
 * Extension of {@link DataImportEditor} to display and import objects of type {@link SpecimenOrObservationBase}.
15
 * @author pplitzner
16
 * @date 20.09.2013
17
 *
18
 */
19
public class SpecimenImportEditor extends DataImportEditor<SpecimenOrObservationBase<?>> {
20

    
21
    public static final String ID = "eu.etaxonomy.taxeditor.view.dataimport.SpecimenImportEditor";
22

    
23
    /**
24
     * Required for extension point
25
     */
26
    public SpecimenImportEditor() {
27
        super();
28
    }
29

    
30
    /* (non-Javadoc)
31
     * @see eu.etaxonomy.taxeditor.view.dataimport.DataImportEditor#getTextForTableItem(eu.etaxonomy.cdm.model.common.IIdentifiableEntity)
32
     */
33
    @Override
34
    protected String getTextForTableItem(SpecimenOrObservationBase<?> item) {
35
        return item.generateTitle();
36
    }
37
}
(12-12/16)