for(int i = 0; i < FILE_TYPE_LABELS.length; i++)
editor.addOption(new DefaultSelectOption(
new Integer(i),
FILE_TYPE_LABELS[i]));
editor.setFormatter(new IntegerFormatter());
//and finally create the configurationObject
FieldInfo fieldInfo = new FieldInfo(
FILE_TYPE_ATTR,
FILE_TYPE_ATTR,
modifier,