} 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);
} else if (attrType == PreferenceAD.COLOR) {
ColorFieldEditor cField =
new ColorFieldEditor(prefAD.getID(), prefAD.getName(), getFieldEditorParent());
addField(cField);