switching css themes with e(fx)clipse [message #1487143] |
Tue, 25 November 2014 10:52  |
Eclipse User |
|
|
|
Hello everybody,
i've tried to extend my "e4+javaFX" demo app with the ability to switch the css theme at runtime.
I was following the tutorial at "www.vogella.com/tutorials/Eclipse4CSS/article.html#tutorial_cssstyling" but in the final this won't work, because my app has a "e(fx)clipse Target Platform" and therefore doesn't know the bundle "org.eclipse.e4.ui.css.swt.theme" and so the classes and interfaces like "IThemeEngine" will be unknown. The according jar file is presend within the eclipse plugin folder: org.eclipse.e4.ui.css.swt.theme_0.9.300.v20140424-2042.jar
Switching the target platform back to "default" will resolve the "IThemeEngine" problem but will create others because of the missing e(fx)clipse bundles.
In a second attempt i tried using "org.eclipse.fx.ui.theme.internal.DefaultThemeManager" (from e(fx)clipse??) but this doesn't work either.
Anybody has a hint to get this working? I wasn't able to find any tutorial on this problem.
Thanks in advance
Frank
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03789 seconds