Revision e8423490
Added by Patrick Plitzner over 5 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/webimport/termimport/GfBioTerminologyImportPresenter.java | ||
---|---|---|
179 | 179 |
composite.getLblLabel().setText(""); |
180 | 180 |
composite.getLblUri().setText(""); |
181 | 181 |
composite.getLblDescription().setText(""); |
182 |
composite.getListSynonyms().removeAll(); |
|
182 |
composite.getListSynonyms().getList().removeAll();
|
|
183 | 183 |
} |
184 | 184 |
|
185 | 185 |
private void updateDetails(ISelection s) { |
... | ... | |
195 | 195 |
composite.getLblLabel().setText(label!=null?label:""); |
196 | 196 |
composite.getLblUri().setText(uri!=null?uri:""); |
197 | 197 |
composite.getLblDescription().setText(description!=null?description:""); |
198 |
if(wrapper.getSynonyms()!=null){ |
|
199 |
if(wrapper.getSynonyms().isEmpty()){ |
|
200 |
composite.getListSynonyms().getList().removeAll(); |
|
201 |
} |
|
202 |
else{ |
|
203 |
wrapper.getSynonyms().forEach(syn->composite.getListSynonyms().add(syn)); |
|
204 |
} |
|
205 |
} |
|
198 | 206 |
} |
199 | 207 |
} |
200 | 208 |
|
Also available in: Unified diff
ref #7362 Show synonyms for term details