+ //clear values
+ editorValue.getStatisticalValues().clear();
+ //add back all values from text fields
+ Map<StatisticalMeasure, List<String>> measureToValueMap = new HashMap<>();
+
+ Map<StatisticalMeasure, List<Text>> textFields = composite.getTextFields();
+ Set<Entry<StatisticalMeasure,List<Text>>> entrySet = textFields.entrySet();
+ for (Entry<StatisticalMeasure, List<Text>> entry : entrySet) {
+ StatisticalMeasure statisticalMeasure = entry.getKey();
+ List<String> values = entry.getValue().stream()
+ .filter(text->text.isEnabled())
+ .map(text->text.getText())
+ .collect(Collectors.toList());
+ measureToValueMap.put(statisticalMeasure, values);
+ }
+ rowWrapperDTO.setDataValueForQuantitativeData(editorValue.getFeature(), measureToValueMap);