1
|
// $Id$
|
2
|
/**
|
3
|
* Copyright (C) 2017 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.workingSet;
|
11
|
|
12
|
import eu.etaxonomy.taxeditor.featuretree.FeatureTreeLabelProvider;
|
13
|
|
14
|
/**
|
15
|
*
|
16
|
* @author pplitzner
|
17
|
* @date Jun 1, 2017
|
18
|
*
|
19
|
*/
|
20
|
public class CharacterLabelProvider extends FeatureTreeLabelProvider {
|
21
|
|
22
|
|
23
|
/**
|
24
|
* {@inheritDoc}
|
25
|
*/
|
26
|
@Override
|
27
|
public String getText(Object element) {
|
28
|
if(element instanceof eu.etaxonomy.cdm.model.description.Character){
|
29
|
eu.etaxonomy.cdm.model.description.Character character = (eu.etaxonomy.cdm.model.description.Character)element;
|
30
|
}
|
31
|
return super.getText(element);
|
32
|
}
|
33
|
|
34
|
}
|