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
) {
66 // TODO Auto-generated method stub
71 * @see eu.etaxonomy.taxeditor.annotatedlineeditor.ILineDisplayStrategy#getEmptyCacheMessage(java.lang.Object)
74 public String
getEmptyCacheMessage(Object entity
) {
75 // TODO Auto-generated method stub
80 * @see eu.etaxonomy.taxeditor.annotatedlineeditor.ILineDisplayStrategy#setText(java.lang.String, java.lang.Object)
83 public void setText(String text
, Object entity
) {
84 // TODO Auto-generated method stub
89 * @see eu.etaxonomy.taxeditor.annotatedlineeditor.ILineDisplayStrategy#getHoverText(java.lang.Object)
92 public String
getHoverText(Object entity
) {
93 // TODO Auto-generated method stub
98 * @see eu.etaxonomy.taxeditor.annotatedlineeditor.ILineDisplayStrategy#setStatusMessage(java.lang.String, java.lang.Object)
101 public void setStatusMessage(String text
, Object entity
) {
102 // TODO Auto-generated method stub
107 * @see eu.etaxonomy.taxeditor.annotatedlineeditor.ILineDisplayStrategy#isEntityCacheEmpty(java.lang.Object)
110 public boolean isEntityCacheEmpty(Object entity
) {
111 // TODO Auto-generated method stub
116 * @see eu.etaxonomy.taxeditor.annotatedlineeditor.ILineDisplayStrategy#addDisplayListener(java.lang.Object, eu.etaxonomy.taxeditor.annotatedlineeditor.EntityListener)
119 public void addDisplayListener(Object entity
, EntityListener listener
) {
120 // TODO Auto-generated method stub