2 * Copyright (C) 2017 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
.ui
.combo
;
11 import org
.eclipse
.jface
.viewers
.LabelProvider
;
13 import eu
.etaxonomy
.cdm
.model
.common
.DefinedTerm
;
20 public class TermUuidLabelProvider
extends LabelProvider
{
26 public String
getText(Object element
) {
27 if(element
instanceof DefinedTerm
){
28 return ((DefinedTerm
) element
).getLabel();
30 return super.getText(element
);