FXML plugin for SBT

Philipp Dörfler phdoerfler at gmail.com
Tue Apr 2 18:33:14 PDT 2013


Hi,

I've started a SBT plugin [1] (shameless self promotion™) which - based on FXML files - automatically generates controller classes and thus gives you compile time checks, code completion and other goodies. It's an early beta but it's already capable of parsing FXML files using any of the standard nodes (= everything in jfxrt.jar) and emitting beautiful code™ (e.g. reasonable white space handling). The project page contains some example output.
It is quite similar to SceneBuilder's "Show Sample Controller Skeleton", to the Android IDE and to playframework in that it removes the burden of manually having to create wrapper or controller classes to access your GUI nodes.

I hope some of you guys find it interesting.

Cheers,
~ Philipp

[1] https://bitbucket.org/phdoerfler/sbt-fxml

P.S.: I wasn't sure if it's okay to promote an own plugin etc. on this list, but it might be of some use to others. Please let me know if that's not okay for you.


More information about the openjfx-dev mailing list