} else if (attrType == PreferenceAD.FONT) {
FontFieldEditor foField =
new FontFieldEditor(prefAD.getID(), prefAD.getName(), getFieldEditorParent());
addField(foField);
} else if (attrType == PreferenceAD.DIRECTORY) {
DirectoryFieldEditor dField =
new DirectoryFieldEditor(prefAD.getID(), prefAD.getName(), getFieldEditorParent());
dField.setEmptyStringAllowed(true);
addField(dField);
} else if (attrType == PreferenceAD.FILE) {
FileFieldEditor fiField =
new FileFieldEditor(prefAD.getID(), prefAD.getName(), getFieldEditorParent());
fiField.setEmptyStringAllowed(true);