Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

#232 Added logging when exploring libraries (jars or folders) #234

Merged
merged 5 commits into from
Dec 16, 2020

Conversation

jperedadnr
Copy link
Collaborator

@jperedadnr jperedadnr commented May 2, 2019

including refactoring of JarExplorer and FolderExplorer
#233 Don’t scan JavaFX jars

This PR adds some really useful information to the console when importing custom libraries, mainly focused on library developers that never know why Scene Builder doesn't want to import their controls.

The logging level is set to info, but in most cases, a regular user will launch Scene Builder from the executable, without a visible console.

… including refactoring of JarExplorer and FolderExplorer

gluonhq#233 Don’t scan JavaFX jars
@jperedadnr jperedadnr added enhancement New feature or request custom control Custom controls usage in Scene Builder labels May 2, 2019
@jperedadnr jperedadnr self-assigned this May 2, 2019
@luca-domenichini
Copy link
Contributor

That seems good to me.
ExplorerBase was exactly what I was mentioning in my comments at #228


import javafx.fxml.FXMLLoader;
import javafx.scene.Node;

/**
*
*
*/
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would be a good opportunity to add some Javadoc to the classes explaining what these classes do.

Copy link
Collaborator Author

@jperedadnr jperedadnr Dec 16, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will require some time, probably best for a follow-up.

@nathanwonnacott
Copy link

Given that a year and a half has passed, it seems to me like @jperedadnr isn't likely to address the comments on the merge request. Would it be possible to just merge this and then someone with write access to the gluonhq repo could make the suggested changes after the merge? The suggested changes are quite small.

@jperedadnr
Copy link
Collaborator Author

@nathanwonnacott Sorry, it took some time... but I addressed the comments. We'll merge soon.

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, Gluon and/or its affiliates.
* Copyright (c) 2019, 2020, Gluon and/or its affiliates.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this change be "2017, 2020, Gluon" ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, that file was actually created in 2019, in this PR #228

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
custom control Custom controls usage in Scene Builder enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants