*/
@Override
public void setDataValue(TaxonDistributionDTO taxonWrapper, int columnIndex, Object newValue) {
- System.err.println("DistributionColumnAccessor: " + taxonWrapper.getNameCache());
- if (newValue instanceof PresenceAbsenceTerm){
+ if (newValue instanceof PresenceAbsenceTerm){
NamedArea area =editor.getAreaToColumnIndexMap().get(columnIndex);
Map<NamedArea, Set<DescriptionElementBase>> distributionMap = editor.taxonDistributionMap.get(taxonWrapper.getTaxonUuid());
if (distributionMap == null){
this.layout();
natTable.doCommand(new ClientAreaResizeCommand(natTable));
// boolean ok = natTable.doCommand(new ClientAreaResizeCommand(natTable));
- // System.out.println(ok);
+
}
}
if (taxon != null){
MergeResult result = CdmStore.getService(ITaxonService.class).merge(taxon, true);
- boolean removed = dto.getDescriptionsWrapper().getDescriptions().remove(desc);
- System.err.println("removed:" + removed);
}
}
}
Object rowWrapper = editor.getBodyDataProvider().getRowObject(this.getRowIndex());
if(rowWrapper instanceof TaxonDistributionDTO){
NamedArea area = editor.getAreaToColumnIndexMap().get(getColumnIndex());
- System.err.println("StatusDataCellEditor: " + ((TaxonDistributionDTO)rowWrapper).getNameCache());
Map<NamedArea, Set<DescriptionElementBase>> distributionMap = editor.taxonDistributionMap.get(((TaxonDistributionDTO) rowWrapper).getTaxonUuid());
if (distributionMap == null){
distributionMap = new HashMap();