Revision 3e3ddf18
Added by Katja Luther almost 7 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/taxon/TaxonRelationshipDetailSection.java | ||
---|---|---|
8 | 8 |
*/ |
9 | 9 |
package eu.etaxonomy.taxeditor.ui.section.taxon; |
10 | 10 |
|
11 |
import org.apache.commons.lang.StringUtils; |
|
11 | 12 |
import org.eclipse.jface.viewers.ISelectionProvider; |
12 | 13 |
|
13 | 14 |
import eu.etaxonomy.cdm.api.conversation.ConversationHolder; |
... | ... | |
39 | 40 |
|
40 | 41 |
@Override |
41 | 42 |
public String getHeading() { |
42 |
return getEntity() != null ? getEntity().getType().getLabel(): "Taxon Relation"; |
|
43 |
|
|
44 |
return getEntity() != null ? StringUtils.replace( getEntity().getType().getLabel(), "for", ""): "Taxon Relation"; |
|
43 | 45 |
} |
44 | 46 |
|
45 | 47 |
/* (non-Javadoc) |
Also available in: Unified diff
minor