Project

General

Profile

« Previous | Next » 

Revision bf20bbfd

Added by Katja Luther almost 4 years ago

adapt editor to value of statisticalMeasurementValue as BigDecimal

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/MinMaxTextSection.java
60 60

  
61 61
		switch(unitType) {
62 62
			case ELEVATION:
63
				text_minVal = formFactory.createNumberTextWithLabelElement(this, "Min [m] : ", getMinimum(), style);
64
				text_maxVal = formFactory.createNumberTextWithLabelElement(this, "Max [m] : ", getMaximum(), style);
63
				text_minVal = formFactory.createFloatTextWithLabelElement(this, "Min [m] : ", getMinimum(), style);
64
				text_maxVal = formFactory.createFloatTextWithLabelElement(this, "Max [m] : ", getMaximum(), style);
65 65
				break;
66 66
			default:
67
				text_minVal = formFactory.createNumberTextWithLabelElement(this, "Min [m] : ", getMinimum(), style);
68
				text_maxVal = formFactory.createNumberTextWithLabelElement(this, "Max [m] : ", getMaximum(), style);
67
				text_minVal = formFactory.createFloatTextWithLabelElement(this, "Min [m] : ", getMinimum(), style);
68
				text_maxVal = formFactory.createFloatTextWithLabelElement(this, "Max [m] : ", getMaximum(), style);
69 69
				break;
70 70
		}
71 71
		text_freeText = formFactory.createTextWithLabelElement(this,

Also available in: Unified diff