Revision 3735600c
Added by Alexander Oppermann over 11 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/vocabulary/AbstractTermBaseDetailElement.java | ||
---|---|---|
69 | 69 |
} |
70 | 70 |
|
71 | 71 |
protected void handleRepresentation(Object eventSource){ |
72 |
Representation representation = getEntity().getRepresentation(CdmStore.getDefaultLanguage()); |
|
72 |
T entity = getEntity(); |
|
73 |
Representation representation = entity.getRepresentation(CdmStore.getDefaultLanguage()); |
|
73 | 74 |
|
74 | 75 |
if (representation == null){ |
75 | 76 |
return; |
... | ... | |
77 | 78 |
|
78 | 79 |
if (eventSource == text_label){ |
79 | 80 |
representation.setLabel(text_label.getText()); |
81 |
entity.setLabel(text_label.getText()); |
|
80 | 82 |
}else if (eventSource == text_abbreviatedLabel){ |
81 | 83 |
representation.setAbbreviatedLabel(text_abbreviatedLabel.getText()); |
82 | 84 |
}else if (eventSource == text_description){ |
Also available in: Unified diff
BugFix for Ticket #3178. Now the TitleCache will be updated everytime if the label is changed too.