Merge branch 'develop' into featureTreeEditor
[taxeditor.git] / eu.etaxonomy.taxeditor.editor / src / main / java / eu / etaxonomy / taxeditor / editor / workingSet / StructureLabelProvider.java
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 org.eclipse.jface.viewers.ColumnLabelProvider;
13
14 import eu.etaxonomy.cdm.model.description.FeatureNode;
15
16 /**
17 * @author pplitzner
18 * @date 24.05.2017
19 *
20 */
21 public class StructureLabelProvider extends ColumnLabelProvider {
22
23
24 public StructureLabelProvider() {
25 }
26 /**
27 * {@inheritDoc}
28 */
29 @Override
30 public String getText(Object element) {
31
32 return ((FeatureNode)element).getFeature().getLabel();
33 }
34 }