protected void createFieldEditors() {
addField(new BooleanFieldEditor(PreferenceConstants.P_ADVANCED_ACTIVE, Messages.EditToolPreferences_advanced_editing_name,
getFieldEditorParent()));
addField(new BooleanFieldEditor(PreferenceConstants.P_SELECT_POST_ACCEPT, Messages.EditToolPreferences_CreateFeaturePreference,
getFieldEditorParent()));
addField(new IntegerFieldEditor(PreferenceConstants.P_SNAP_RADIUS,
Messages.EditToolPreferences_snapRadius,
getFieldEditorParent()));
addField(new RadioGroupFieldEditor(
PreferenceConstants.P_SNAP_BEHAVIOUR,
Messages.EditToolPreferences_behaviour,
2,
new String[][]{
{
Messages.EditToolPreferences_noSnapping, SnapBehaviour.OFF.toString()},
{
Messages.EditToolPreferences_selected, SnapBehaviour.SELECTED.toString()},
{
Messages.EditToolPreferences_current, SnapBehaviour.CURRENT_LAYER.toString()},
{
Messages.EditToolPreferences_all, SnapBehaviour.ALL_LAYERS.toString()},
{
Messages.EditToolPreferences_grid, SnapBehaviour.GRID.toString()}}, getFieldEditorParent(), true));
addField(new IntegerFieldEditor(PreferenceConstants.P_VERTEX_SIZE,
Messages.EditToolPreferences_vertexDiameter,
getFieldEditorParent()));
addField(new ColorFieldEditor(PreferenceConstants.P_SNAP_CIRCLE_COLOR,
Messages.EditToolPreferences_feedbackColor,