@Override
protected void createFieldEditors() {
// case and selector
this.addField(new ValidationPreferenceFieldEditor(
PPPreferenceConstants.PROBLEM_CASE_DEFAULT_LAST, "Case statement where a 'default' is not last",
getFieldEditorParent()));
this.addField(new ValidationPreferenceFieldEditor(
PPPreferenceConstants.PROBLEM_SELECTOR_DEFAULT_LAST, "Selector expression where a 'default' is not last",
getFieldEditorParent()));
// strings and interpolation
this.addField(new ValidationPreferenceFieldEditor(
PPPreferenceConstants.PROBLEM_DQ_STRING_NOT_REQUIRED, "Strings that do not require double quoting",
getFieldEditorParent()));
this.addField(new ValidationPreferenceFieldEditor(
PPPreferenceConstants.PROBLEM_DQ_STRING_NOT_REQUIRED_VAR, "Strings containing a single interpolation",
getFieldEditorParent()));
this.addField(new ValidationPreferenceFieldEditor(
PPPreferenceConstants.PROBLEM_UNBRACED_INTERPOLATION, "Interpolated variables without braces",
getFieldEditorParent()));
// Resources
this.addField(new ValidationPreferenceFieldEditor(
PPPreferenceConstants.PROBLEM_UNQUOTED_RESOURCE_TITLE, "Unquoted resource titles", getFieldEditorParent()));
this.addField(new ValidationPreferenceFieldEditor(
PPPreferenceConstants.PROBLEM_ML_COMMENTS, "Comments using /* */", getFieldEditorParent()));
this.addField(new ValidationPreferenceFieldEditor(
PPPreferenceConstants.PROBLEM_RTOL_RELATIONSHIP, "Right to left relationships using <- or <~",
getFieldEditorParent()));
this.addField(new ValidationPreferenceFieldEditor(
PPPreferenceConstants.PROBLEM_ENSURE_NOT_FIRST, "Resource property ensure is not stated first",
getFieldEditorParent()));
}