private ULCNumberDataType createIntegerDataType( IIntegerPropertyDescriptor propertyDescriptor, Locale locale, NumberFormat format) { ULCNumberDataType numberDataType = new ULCNumberDataType(locale); numberDataType.setInteger(true); numberDataType.setMin(propertyDescriptor.getMinValue()); numberDataType.setMax(propertyDescriptor.getMaxValue()); numberDataType.setMaxFractionDigits(0); numberDataType.setMinFractionDigits(0); numberDataType.setGroupingUsed(format.isGroupingUsed()); return numberDataType; }