Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsDynamic CSS - Applied on Load of E4 Application
https://www.eclipse.org/forums/index.php/mv/msg/1090256/1777203/#msg_1777203
Now within in my application we have a CSS Theme Selector Dialog. User can switch between Default CSS contributed thru the theme extension point or custom.css implemented using IStyleThemeEngine with ICSSThemeEngine.
When I switch the Theme within the application it works perfectly fine. Now after closing the application on reopening it goes back to default.css. On we are storing the Theme Selection in a preferencestore.
We would like to apply the Default or Custom Theme based on the preferenceStore value.
We tried doing it in the E4LifeCycle.java inside the postContext method, but IThemeEngine variable is appearing to be NULL there. Therefore we are unable to load and dynamically set the Custom.css.