} else if (attrType == PreferenceAD.TEXT) {
StringFieldEditor sField =
new StringFieldEditor(prefAD.getID(), prefAD.getName(), getFieldEditorParent());
addField(sField);
} else if (attrType == PreferenceAD.DOUBLE) {
DoubleFieldEditor dField =
new DoubleFieldEditor(prefAD.getID(), prefAD.getName(), getFieldEditorParent());
addField(dField);
} else if (attrType == PreferenceAD.FLOAT) {
FloatFieldEditor fField =
new FloatFieldEditor(prefAD.getID(), prefAD.getName(), getFieldEditorParent());
addField(fField);