FileFieldEditor fiField =
new FileFieldEditor(prefAD.getID(), prefAD.getName(), getFieldEditorParent());
fiField.setEmptyStringAllowed(true);
addField(fiField);
} else if (attrType == PreferenceAD.PATH) {
PathEditor pField =
new PathEditor(prefAD.getID(), prefAD.getName(), prefAD.getName(), getFieldEditorParent());
addField(pField);
} else if (attrType == PreferenceAD.TEXT) {
StringFieldEditor sField =
new StringFieldEditor(prefAD.getID(), prefAD.getName(), getFieldEditorParent());
addField(sField);