2 * Copyright (C) 2014 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
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.
9 package eu
.etaxonomy
.taxeditor
.view
.dataimport
;
11 import eu
.etaxonomy
.cdm
.ext
.occurrence
.gbif
.GbifResponse
;
18 public class GbifImportEditor
extends DataImportEditor
<GbifResponse
>{
20 public static final String ID
= "eu.etaxonomy.taxeditor.view.dataimport.GbifImportEditor";
23 * Required for extension point
25 public GbifImportEditor() {
30 * @see eu.etaxonomy.taxeditor.view.dataimport.DataImportEditor#getTextForTableItem(java.lang.Object)
33 protected String
getTextForTableItem(GbifResponse item
) {
35 if(item
.getDataSetProtocol()!=null){
36 text
+= "["+item
.getDataSetProtocol()+"] ";
38 text
+= item
.getDerivedUnitFacade().innerDerivedUnit().generateTitle();