3 * Copyright (C) 2013 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
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.
10 package eu
.etaxonomy
.taxeditor
.dataimport
;
12 import org
.eclipse
.swt
.graphics
.Font
;
13 import org
.eclipse
.swt
.graphics
.Image
;
15 import eu
.etaxonomy
.cdm
.model
.occurrence
.SpecimenOrObservationBase
;
16 import eu
.etaxonomy
.taxeditor
.annotatedlineeditor
.EntityListener
;
17 import eu
.etaxonomy
.taxeditor
.annotatedlineeditor
.ILineDisplayStrategy
;
24 public class DataImportEditorLineDisplayStrategy
implements ILineDisplayStrategy
{
27 * @see eu.etaxonomy.taxeditor.annotatedlineeditor.ILineDisplayStrategy#getIndent(java.lang.Object)
30 public int getIndent(Object entity
) {
31 // TODO Auto-generated method stub
36 * @see eu.etaxonomy.taxeditor.annotatedlineeditor.ILineDisplayStrategy#getIcon(java.lang.Object)
39 public Image
getIcon(Object entity
) {
40 // TODO Auto-generated method stub
45 * @see eu.etaxonomy.taxeditor.annotatedlineeditor.ILineDisplayStrategy#getFont(java.lang.Object)
48 public Font
getFont(Object entity
) {
49 // TODO Auto-generated method stub
54 * @see eu.etaxonomy.taxeditor.annotatedlineeditor.ILineDisplayStrategy#getText(java.lang.Object)
57 public String
getText(Object entity
) {
58 return ((SpecimenOrObservationBase
)entity
).getTitleCache();
62 * @see eu.etaxonomy.taxeditor.annotatedlineeditor.ILineDisplayStrategy#getSupplementalText(java.lang.Object)
65 public String
getSupplementalText(Object entity
) {
70 * @see eu.etaxonomy.taxeditor.annotatedlineeditor.ILineDisplayStrategy#getEmptyCacheMessage(java.lang.Object)
73 public String
getEmptyCacheMessage(Object entity
) {
74 // TODO Auto-generated method stub
79 * @see eu.etaxonomy.taxeditor.annotatedlineeditor.ILineDisplayStrategy#setText(java.lang.String, java.lang.Object)
82 public void setText(String text
, Object entity
) {
83 // TODO Auto-generated method stub
88 * @see eu.etaxonomy.taxeditor.annotatedlineeditor.ILineDisplayStrategy#getHoverText(java.lang.Object)
91 public String
getHoverText(Object entity
) {
92 return ((SpecimenOrObservationBase
)entity
).getTitleCache();
96 * @see eu.etaxonomy.taxeditor.annotatedlineeditor.ILineDisplayStrategy#setStatusMessage(java.lang.String, java.lang.Object)
99 public void setStatusMessage(String text
, Object entity
) {
100 // TODO Auto-generated method stub
105 * @see eu.etaxonomy.taxeditor.annotatedlineeditor.ILineDisplayStrategy#isEntityCacheEmpty(java.lang.Object)
108 public boolean isEntityCacheEmpty(Object entity
) {
109 // TODO Auto-generated method stub
114 * @see eu.etaxonomy.taxeditor.annotatedlineeditor.ILineDisplayStrategy#addDisplayListener(java.lang.Object, eu.etaxonomy.taxeditor.annotatedlineeditor.EntityListener)
117 public void addDisplayListener(Object entity
, EntityListener listener
) {
118 // TODO Auto-generated method stub