-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Workspaces #14
Comments
Original comment by Alexander Casall (Bitbucket: acasall, GitHub: Unknown): From Saxonia Systems AG |
I think PR #236 addresses some of the points in this issue. |
Okay, let's revive this issue here. Concept Questions:Shall Scene Builder offer workspaces as an option parallel to the current mode of operation (working with single, isolated files, having a shared libs folder)? What is needed to develop the concept of workspaces in Scene Builder?
What is expected from a Scene Builder workspace?
Inspirations
|
For this purpose, I've resorted to use Intellij IDEA's embedded JavaFX Scene Builder, which treats the project as a workspace. Maybe the standalone Scene Builder application can use that as a reference/inspiration? |
Thanks for the hint, yes, very good idea to use this as inspiration. I never used the embedded version so didn't know about this feature. |
Scene Builder workspace is obviously a good idea but we need to have enough use-cases before we move forward with it. Scene Builder can be used across multiple JavaFX projects which can have their own set of custom controls. Apart from custom controls, is their anything else which we would like to isolate in Scene Builder? One thing that comes to my mind is the JavaFX version used to create the FXML namespace. For example, if you use Scene Builder 16 to create FXML. it will contain the following entry in the
This FXML when used in a project running with JavaFX 11 will throw:
This is because there is a check in FXMLLoader which throws the warning if the major version of JavaFX doesn't match FXML namespace version. Instead of blindly creating FXML using the JavaFX bundled version, Scene Builder could creates FXMLs with different JavaFX namespace. This version can have a one to one relationship with the JavaFX version used in the project. |
The namespace preference is a very good idea, this is indeed something which is missing. @abhinayagarwal This feels like enhancing the FXOM so, that we can once create JavaFX version specific FXML. |
Originally reported by: Alexander Casall (Bitbucket: acasall, GitHub: Unknown)
I often have to do the same steps for multiple FXML files in one project. This steps should be saved in a workspace and should by applied to all FXML files of the workspace
For:
...
The text was updated successfully, but these errors were encountered: