3 * Copyright (C) 2007 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.
11 package eu
.etaxonomy
.taxeditor
.view
.group
;
13 import org
.eclipse
.jface
.viewers
.LabelProvider
;
15 import eu
.etaxonomy
.cdm
.model
.common
.Group
;
19 * @created Feb 16, 2011
22 public class GroupLabelProvider
extends LabelProvider
{
25 * @see org.eclipse.jface.viewers.LabelProvider#getText(java.lang.Object)
28 public String
getText(Object element
) {
29 if(element
instanceof Group
){
31 return ((Group
) element
).getName();
34 return super.getText(element
);