private final PreferenceUi autoAssistSingleQuotePreference;
public ScriptPreferencesPage() {
super(new String[] { "Scripts" });
layoutTypePreference = createLayoutTypePref();
dataElementListPreference = new BooleanPreferenceUi(ShowReferencedDataElementsOnlyPreference.INSTANCE,
"Show only those data elements that are referenced in the project in the Formula Builder");
dataElementCompletionPreference = new BooleanPreferenceUi(UseReferencedDataElementsOnlyInAutoCompletion.INSTANCE,
"Include only those data elements that are referenced in the project in auto-completion");
autoSuggestFuncArgsPreference = AutoSuggestFunctionArgumentsPreference.createUi();
tabSizePreference = createTabSizePrefUi();
autoAssistParenthesisPreference = new BooleanPreferenceUi(AutoAssistParenthesisPreference.INSTANCE,
"Opening parenthesis");
autoAssistDoubleQuotePreference = new BooleanPreferenceUi(AutoAssistDoubleQuotesPreference.INSTANCE,
"Double-quote");
autoAssistSingleQuotePreference = new BooleanPreferenceUi(AutoAssistSingleQuotesPreference.INSTANCE,
"Single-quote");
addControls(layoutTypePreference, dataElementListPreference, dataElementCompletionPreference, autoSuggestFuncArgsPreference,
tabSizePreference, autoAssistParenthesisPreference, autoAssistDoubleQuotePreference,
autoAssistSingleQuotePreference);
}