Composite itemEditorComposite = new Composite(editorComposite, SWT.NONE);
itemEditorComposite.setLayoutData(
gdFillDefaults().create());
itemEditorComposite.setLayout(GridLayoutFactory.swtDefaults().extendedMargins(5, 20, 5, 5).create());
enableField = new CheckBoxField(PreferencesMessages.DLTKEditorPreferencePage_enable);
enableField.createComponent(itemEditorComposite, gdFillDefaults().create());
colorField = new ColorField(PreferencesMessages.DLTKEditorPreferencePage_color);
colorField.createComponent(itemEditorComposite, gdFillDefaults().indent(20, 0).create());
boldCheckboxField = new CheckBoxField(PreferencesMessages.DLTKEditorPreferencePage_bold);
boldCheckboxField.createComponent(itemEditorComposite, gdFillDefaults().indent(20, 0).create());
italicCheckboxField = new CheckBoxField(PreferencesMessages.DLTKEditorPreferencePage_italic);
italicCheckboxField.createComponent(itemEditorComposite, gdFillDefaults().indent(20, 0).create());
striketroughCheckboxField = new CheckBoxField(PreferencesMessages.DLTKEditorPreferencePage_strikethrough);
striketroughCheckboxField.createComponent(itemEditorComposite, gdFillDefaults().indent(20, 0).create());
underlineCheckboxField = new CheckBoxField(PreferencesMessages.DLTKEditorPreferencePage_underline);
underlineCheckboxField.createComponent(itemEditorComposite, gdFillDefaults().indent(20, 0).create());
enableField.addValueChangedListener(new IFieldValueListener() {
@Override
public void fieldValueChanged() {