// all).
boolean requireBlankUnitsEntry =
(valueTypes.contains(StyleValueType.INTEGER) ||
valueTypes.contains(StyleValueType.NUMBER));
// create the actual UnitCombo object.
unitsCombo = new UnitsCombo(this, units, requireBlankUnitsEntry);
unitsCombo.setBackground(getDisplay().
getSystemColor(SWT.COLOR_LIST_BACKGROUND));
// register a listener with the combo. When a selection is made
// we want to fire a modified event.