Use AquaFX or AeroFX Themes in e4/Equinox Application [message #1441987] |
Fri, 10 October 2014 09:01  |
Eclipse User |
|
|
|
Hi
I would like to try if it is possible to use the AeroFX or AquaFX themes in equinox/e4 applications. If I just download the jars and wrap them in bundles I get exceptions like this:
[2014-10-10 14:39:57,089] ERROR controls Failed to load skin 'com.aquafx_project.controls.skin.AquaButtonSkin' for control Button@1d189dc[styleClass=button]'Abbrechen'
java.lang.NullPointerException
at javafx.scene.control.Control.loadClass(Control.java:131)
at javafx.scene.control.Control.loadSkinClass(Control.java:712)
at javafx.scene.control.Control$4.invalidated(Control.java:672)
...
I excpected something like this because of the bundle classloaders. My question is: How do I work around this?
My second try was to place the jar in a fragment hosted by org.eclipse.fx.javafx. This does not work, because I can't see the classes in my main bundle, even if I export them from the fragment.
So I am wondering if it would make sense to add buddy classloading to org.eclipse.fx.javafx.
Before I experiment further I was hoping on some thoughts on the subject, so any input is highly appriciated.
Thanks!
Christoph
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05283 seconds