selectEditor.setPredefinedValues(toStringStyles);
selectEditor.setPredefinedValues(styles);
    public void createFieldEditors()    {        addField(new RadioGroupFieldEditor(            CCPlugin.P_TOSTRING_BEAN,            CCMessages.getString("preference.tostringtype"), 1, new String[][]{ //$NON-NLS-1$            {CCMessages.getString("preference.tostringtype.bean"), CCPlugin.TOSTRINGSTYLE_BEAN}, //$NON-NLS-1$                {CCMessages.getString("preference.tostringtype.fieds"), CCPlugin.TOSTRINGSTYLE_FIELDS}}, getFieldEditorParent(), true)); //$NON-NLS-1$        addField(new SpacerFieldEditor(getFieldEditorParent()));        ClassConstantFieldEditor selectEditor = new ClassConstantFieldEditor(CCPlugin.P_TOSTRING_STYLE, CCMessages            .getString("preference.customtostringtype"), //$NON-NLS-1$            getFieldEditorParent());        String[] toStringStyles = new String[]{"org.apache.commons.lang.builder.ToStringStyle.DEFAULT_STYLE", //$NON-NLS-1$            "org.apache.commons.lang.builder.ToStringStyle.MULTI_LINE_STYLE", //$NON-NLS-1$            "org.apache.commons.lang.builder.ToStringStyle.NO_FIELD_NAMES_STYLE", //$NON-NLS-1$            "org.apache.commons.lang.builder.ToStringStyle.SIMPLE_STYLE"}; //$NON-NLS-1$        selectEditor.setPredefinedValues(toStringStyles);        selectEditor.setErrorMessage(CCMessages.getString("preference.customtostring.error")); //$NON-NLS-1$        addField(selectEditor);        addField(new SpacerFieldEditor(getFieldEditorParent()));        addField(new BooleanFieldEditor(CCPlugin.P_TOSTRING_SUPER, CCMessages            .getString("preference.appendsuper.tostring"), getFieldEditorParent())); //$NON-NLS-1$        addField(new BooleanFieldEditor(CCPlugin.P_HASHCODE_SUPER, CCMessages            .getString("preference.appendsuper.hashcode"), getFieldEditorParent())); //$NON-NLS-1$        addField(new BooleanFieldEditor(            CCPlugin.P_EQUALS_SUPER,            CCMessages.getString("preference.appendsuper.equals"), getFieldEditorParent())); //$NON-NLS-1$        addField(new BooleanFieldEditor(CCPlugin.P_COMPARETO_SUPER, CCMessages            .getString("preference.appendsuper.compareto"), //$NON-NLS-1$            getFieldEditorParent()));        addField(new SpacerFieldEditor(getFieldEditorParent()));        addField(new BooleanFieldEditor(CCPlugin.P_EQUALS_INSTANCECHECK, CCMessages            .getString("preference.equals.equalitycheck"), //$NON-NLS-1$            getFieldEditorParent()));        addField(new SpacerFieldEditor(getFieldEditorParent()));        addField(new BooleanFieldEditor(CCPlugin.P_DONTASKONOVERWRITE, CCMessages            .getString("preference.overwriteconfirmation"), //$NON-NLS-1$            getFieldEditorParent()));        addField(new SpacerFieldEditor(getFieldEditorParent()));        AddRemoveListFieldEditor excludedEditor = new AddRemoveListFieldEditor(CCPlugin.P_EXCLUDE, CCMessages            .getString("preference.excluded"), //$NON-NLS-1$            getFieldEditorParent());        addField(excludedEditor);    }