Revision a91ce8c5
Added by Katja Luther over 4 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/e4/container/MisappliedGroupE4.java | ||
---|---|---|
52 | 52 |
} |
53 | 53 |
|
54 | 54 |
private boolean redrawNeeded() { |
55 |
Set<Taxon> misapplications = getEditor().getTaxon().getMisappliedNames(true);
|
|
56 |
misapplications.addAll(getEditor().getTaxon().getProParteAndPartialSynonyms());
|
|
55 |
Set<Taxon> concepts = getEditor().getTaxon().getMisappliedNames(true);
|
|
56 |
concepts.addAll(getEditor().getTaxon().getProParteAndPartialSynonyms());
|
|
57 | 57 |
|
58 |
Set<Taxon> presentMisapplication = new HashSet<>();
|
|
58 |
Set<Taxon> presentConcepts = new HashSet<>();
|
|
59 | 59 |
|
60 | 60 |
for (AbstractGroupedContainerE4<Taxon> container : getGroupedContainers()){ |
61 |
presentMisapplication.add(container.getData());
|
|
61 |
presentConcepts.add(container.getData());
|
|
62 | 62 |
} |
63 |
return ! (presentMisapplication.containsAll(misapplications) && misapplications.containsAll(presentMisapplication));
|
|
63 |
return ! (presentConcepts.containsAll(concepts) && concepts.containsAll(presentConcepts));
|
|
64 | 64 |
} |
65 | 65 |
} |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/reference/ReferenceDetailElement.java | ||
---|---|---|
423 | 423 |
getEntity().setType(combo_referenceType.getSelection()); |
424 | 424 |
updateContent(); |
425 | 425 |
} else if (eventSource == element_timePeriod) { |
426 |
getEntity().setDatePublished(element_timePeriod.getTimePeriod()); |
|
426 |
getEntity().setDatePublished(element_timePeriod.getVerbatimTimePeriod());
|
|
427 | 427 |
clearException(); |
428 | 428 |
} |
429 | 429 |
// selections |
Also available in: Unified diff
fix verbatim date in editor