Revision ac05a823
Added by Katja Luther about 5 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/checklist/e4/StatusDataCellEditor.java | ||
---|---|---|
49 | 49 |
Object rowWrapper = editor.getBodyDataProvider().getRowObject(this.getRowIndex()); |
50 | 50 |
if(rowWrapper instanceof TaxonDistributionDTO){ |
51 | 51 |
NamedArea area = editor.getAreaToColumnIndexMap().get(getColumnIndex()); |
52 |
System.err.println("StatusDataCellEditor: " + ((TaxonDistributionDTO)rowWrapper).getNameCache()); |
|
52 | 53 |
Map<NamedArea, Set<DescriptionElementBase>> distributionMap = editor.taxonDistributionMap.get(((TaxonDistributionDTO) rowWrapper).getTaxonUuid()); |
53 | 54 |
if (distributionMap == null){ |
54 | 55 |
distributionMap = new HashMap(); |
... | ... | |
60 | 61 |
}else if (elements.size() == 1){ |
61 | 62 |
DescriptionElementBase base = elements.iterator().next(); |
62 | 63 |
Distribution distr = (Distribution) base; |
63 |
editor.descriptionsToSave.add( (TaxonDistributionDTO) rowWrapper); |
|
64 |
//editor.descriptionsToSave.add( (TaxonDistributionDTO) rowWrapper);
|
|
64 | 65 |
//TODO set value corresponding to preference |
65 | 66 |
if (distr.getStatus() != null){ |
66 | 67 |
if (distr.getStatus().getLabel() == ""){ |
Also available in: Unified diff
ref #7854: fix problem of wrong setting of values in other cell