@Override protected void setUp() throws Exception { super.setUp(); GroovyPlugin.getDefault() .getPreferenceStore() .setValue(PreferenceConstants.GROOVY_CONTENT_ASSIST_NOPARENS, false); }
public GroovyEditor() { super(); setPreferenceStore( new ChainedPreferenceStore( new IPreferenceStore[] { getPreferenceStore(), JavaPlugin.getDefault().getPreferenceStore(), GroovyPlugin.getDefault().getPreferenceStore() })); colorManager = new ColorManager(); GroovyConfiguration groovyConfiguration = new GroovyConfiguration(colorManager); groovyConfiguration.setEditor(this); setSourceViewerConfiguration(groovyConfiguration); }
public FormatterPreferencesPage() { super(GRID); setPreferenceStore(GroovyPlugin.getDefault().getPreferenceStore()); new FormatterPreferenceInitializer().initializeDefaultPreferences(); }