Skip to content
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

UserLibrary workspace enhancements #392

Open
luca-domenichini opened this issue Aug 11, 2021 · 2 comments
Open

UserLibrary workspace enhancements #392

luca-domenichini opened this issue Aug 11, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@luca-domenichini
Copy link
Contributor

luca-domenichini commented Aug 11, 2021

This feature will provide some enhancement to the workspace management of custom controls.

  • users can link external jars/fxmls or folders to a workspace that is saved in a xml file inside the userlibrary folder. Jars/fxmls are not copied inside the library folder but are just linked as an external source.
  • ability to import/export a workspace
  • command line parsing the workspace: a new switch --ws to instruct SB to load that workspace (e.g. in Windows launching SceneBuilder.exe --ws="C:\Users\donaldduck\myworkspace.xml")
  • the last workspace imported in SB should be persistent, meaning that it would behave like regular jars/folders added to the library as before. The workspace can be altered by using an import or by launching SB with the command line switch --ws
  • workspace is saved in xml format using XStream library (gradle "com.thoughtworks.xstream:xstream:)

This is the concept of what I am proposing (taken from #236 -- I'm the author of that too..)
image

Current Behavior

Currently there is no easy way to switch from a set of libraries imported into SB to another set.
That would be useful when working on different projects, e.g. because different projects requires different libraries in different versions.
A workaround to this is to have some batch that clear the jars and copies all of them under the library folder before launching SB.

@luca-domenichini luca-domenichini added the enhancement New feature or request label Aug 11, 2021
@luca-domenichini
Copy link
Contributor Author

To avoid conflicts with other PRs, I will wait to provide a PR until #387 #389 and #391 are merged

@luca-domenichini
Copy link
Contributor Author

@abhinayagarwal would be really great to make it for SB 17 🚀
Please, review and merge #387 #389 and #391 and I'll submit this PR blazing fastly 🔥

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant