- oldPreferences = Preferences.current();
-
- currentThemePreferences = new EclipsePreferences(currentTheme, MograsimActivator.instance().getPreferenceStore());
- // TODO this will change the global preferences; so if another LogicUICanvas redraws, it will use the "new" colors too.
- Preferences.setPreferences(currentThemePreferences);
+ RenderPreferences currentThemeRenderPrefs = new EclipseRenderPreferences(currentTheme,
+ MograsimActivator.instance().getPreferenceStore());