Composite colorComposite2 = new Composite(group, SWT.NONE);
colorComposite2.setLayout(layout);
colorComposite2.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
viewStateColorEditor = new ColorFieldEditor(WebflowGraphPreferences
.getPreferenceName(ViewState.class.getName()), "View State:",
colorComposite2);
viewStateColorEditor.setPage(this);
viewStateColorEditor.setPreferenceStore(getPreferenceStore());
viewStateColorEditor.load();
actionStateColorEditor = new ColorFieldEditor(WebflowGraphPreferences
.getPreferenceName(ActionState.class.getName()),
"Action State:", colorComposite2);
actionStateColorEditor.setPage(this);
actionStateColorEditor.setPreferenceStore(getPreferenceStore());
actionStateColorEditor.load();
subflowStateColorEditor = new ColorFieldEditor(WebflowGraphPreferences
.getPreferenceName(SubflowState.class.getName()),
"Subflow State:", colorComposite2);
subflowStateColorEditor.setPage(this);
subflowStateColorEditor.setPreferenceStore(getPreferenceStore());
subflowStateColorEditor.load();
decisionStateColorEditor = new ColorFieldEditor(WebflowGraphPreferences
.getPreferenceName(DecisionState.class.getName()),
"Decision State:", colorComposite2);
decisionStateColorEditor.setPage(this);
decisionStateColorEditor.setPreferenceStore(getPreferenceStore());
decisionStateColorEditor.load();
endStateColorEditor = new ColorFieldEditor(WebflowGraphPreferences
.getPreferenceName(EndState.class.getName()), "End State",
colorComposite2);
endStateColorEditor.setPage(this);
endStateColorEditor.setPreferenceStore(getPreferenceStore());
endStateColorEditor.load();