Revision 69955d6c
Added by Patrick Plitzner over 5 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/NonViralNameDetailElement.java | ||
---|---|---|
124 | 124 |
textLsid.setParsedText(entity.getLsid()); |
125 | 125 |
} |
126 | 126 |
|
127 |
//FIXME: the element should be updated and not re-created |
|
128 |
removeElementsAndControls(section_name); |
|
129 |
section_name = formFactory.createNameDetailSection(getConversationHolder(), this, null, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED); |
|
130 |
section_name.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1)); |
|
131 |
addControl(section_name); |
|
132 |
addElement(section_name); |
|
127 | 133 |
section_name.setEntity(entity); |
128 |
section_author.setEntity(entity);
|
|
134 |
section_author.setEntity(entity); |
|
129 | 135 |
|
130 | 136 |
if (isAdvancedView || PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_NAME_DETAILS_SECTION_HYBRID)){ |
131 | 137 |
section_hybrid.setEntity(entity); |
Also available in: Unified diff
ref #6554 Revert caching of NameDetailElement