Revision 0354dac6
Added by Patrick Plitzner almost 6 years ago
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/AbstractBulkEditorInput.java | ||
---|---|---|
260 | 260 |
public String getText(T entity) { |
261 | 261 |
if(entity instanceof IdentifiableEntity){ |
262 | 262 |
IdentifiableEntity identifiableEntity = (IdentifiableEntity) HibernateProxyHelper.deproxy(entity); |
263 |
|
|
264 |
return identifiableEntity.getTitleCache(); |
|
263 |
String text = ""; |
|
264 |
if(markedMergeCandidates.contains(entity)){ |
|
265 |
text += "[Candidate] "; |
|
266 |
} |
|
267 |
else if(markedMergeTarget==entity){ |
|
268 |
text += "[Target] "; |
|
269 |
} |
|
270 |
text += identifiableEntity.getTitleCache(); |
|
271 |
return text; |
|
265 | 272 |
} |
266 | 273 |
|
267 | 274 |
return "No text. Implement in subclass"; |
Also available in: Unified diff
ref #7439 Adapt label when selecting merge target/candidates