Revision cc00ba7d
Added by Patrick Plitzner over 5 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/editor/definedterm/e4/DefinedTermEditorE4.java | ||
---|---|---|
241 | 241 |
TermDto termDto = TermDto.fromTerm(definedTermBase); |
242 | 242 |
viewer.update(termDto, null); |
243 | 243 |
changedTerms.add(definedTermBase); |
244 |
contentProvider.removeVocabularyFromCache(termDto.getVocabularyDto()); |
|
244 | 245 |
} |
245 | 246 |
else if(element instanceof TermVocabulary){ |
246 | 247 |
TermVocabulary vocabulary = (TermVocabulary)element; |
247 | 248 |
TermVocabularyDto vocabularyDto = new TermVocabularyDto(vocabulary.getUuid(), vocabulary.getRepresentations(), vocabulary.getTermType()); |
248 | 249 |
viewer.update(vocabularyDto, null); |
249 | 250 |
changedTerms.add(vocabulary); |
251 |
contentProvider.removeVocabularyFromCache(vocabularyDto); |
|
250 | 252 |
} |
251 | 253 |
setDirty(true); |
252 | 254 |
viewer.update(element, null); |
Also available in: Unified diff
Remove vocabulary from cache when its terms are edited