Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Resource FXML Parser

The only thing Alpha about me is my bots
Joined
Sep 22, 2014
Messages
618
Eagles13' FXML Declaration Helper:

This is an IntelliJ extension which lets you quickly & efficiently generate Java declarations for FXML components. Once you've set up your FXML UI, this plugin removes the repetitive work of manually typing out all the component names and types.

Functionality overview:
To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.



To download this app as an Intellij plugin, see here:
https://plugins.jetbrains.com/plugin/7821?pr=

Or you can go to IntelliJ -> Settings -> Plugins -> Browse repositories -> Search for FXML -> Select "FXML declaration helper" -> Click install.

Or download directly:
https://dl.dropboxusercontent.com/u/7543521/ShareX/2015/06/FXMLGenerator.jar
(to install go to Settings -> Plugins -> Install from disk -> Select JAR).


Once downloaded & Installed, a new contextmenu item should be visible for all fxml files in the project view.
wVP9ISN.png





Old OP:
HvvlBi5.png


In order to use this, make sure that you have the relevant FXML file open, and then click the menuitem. The relevant declarations will be copied to the clipboard.

I'm aware that it seems somewhat clunky, I'd quite like to add a feature to dynamically detect all FXML files in the project, and then have them as menuitems. Then when the end user clicks them, it just auto-inserts the declarations into the currently open document. When I have time to implement this kind of functionality, I probably will do. There will definitely be a version 0.2.

Old Old OP:
So, I got bored of typing out the IDs of all the controls on my JFX forms. So I wrote this:


fxmlparser.gif


Download: https://dl.dropboxusercontent.com/u/7543521/Executables/JFXParser_Merged.exe
Source code: https://dl.dropboxusercontent.com/u/7543521/Archives/JFXParser.zip

Q&A:
Q: Post a virus scan, n00b
A: Don't use the program. This ain't HF and they don't mean shit.

Q: I compiled it and the MD5 of the compiled version differs from the one you're offering for download.
A: I merged dependencies using SmartAssembly.

Q: y u no use ilmerge?
A: Dunno.

Q: I found a bug.
A: Send it to me a long with the pertinent FXML file.

Q: Your code is shite.
A: I know.

Q: Why don't you make this a dev tool?
A: IT IS AN INTELLIJ PLUGIN
 
Last edited:
Joined
Jan 31, 2015
Messages
116
Eagles, your are our savior, our messiah! All praise the god of the eagles!

I don't know how many times i have assigned the wrong type of control or wrong name. Thank you
 
Top