gluonhq / scenebuilder

Scene Builder is a visual, drag 'n' drop, layout tool for designing JavaFX application user interfaces.
https://gluonhq.com/products/scene-builder/
Other
748 stars 220 forks source link

Move Gluon components out of Kit into new Gluon-plugin module #748

Closed jperedadnr closed 1 month ago

jperedadnr commented 1 month ago

Issue

Fixes #241

This PR introduces gluon-plugin as a new maven module, containing all the Gluon components (custom controls, hierarchy, metadata, themes and stylesheets), that were previously in Scene Builder Kit.

Scene Builder Kit doesn't have dependency on Gluon Charm-Glisten anymore.

Scene Builder App uses both Kit and Gluon-plugin, and therefore the end result is the same for Scene Builder users as it was before this PR.

This PR supersedes #241, which was a good start. But many things have change since it was created: we have a modular maven project, with JDK 21+, and now we can use JPMS modules and ServiceProviders to easily inject the plugin.

A few interfaces have been defined:

Developers could use the Gluon-plugin implementation for their own development of similar plugins for their libraries.

Progress