-
Notifications
You must be signed in to change notification settings - Fork 104
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
Describe IDE integration for netbeans and eclipse #439
Comments
Hello, I'm using mvvmFX for few times now for personal project and I must say it's a great value to get such framework into the JavaFX world :) I'm currently using some very basic features (the classical MvvM framework, commands, resources and scope). I've coupled it with dagger 2 too for my business logic. It's true that the main pain I have is to generate each time the boiler plate code for each new view. This "issue" would be a good one to me :) |
Hi warkdev, As I'm only using IntelliJ IDEA for Java development I'm not able to provide the documentation for netbeans or eclipse. Which IDE are you using? Maybe you could provide information of how this could be accomplished in your IDE? For inspiration here is the wiki page on IntelliJ: https://github.com/sialcasa/mvvmFX/wiki/IDE-integration There is the possibility to have "file templates" that can be used on "New"->"Java-File" dialog. I'm sure something similar is possible with netbeans and eclipse too. By the way: I'm also interested in your experience of using dagger 2 with mvvmFX. I would be happy to know how you have integrated the both. This information could be added to the "dependency injection" section in the wiki or maybe even in a separate "mvvmfx-dagger" maven module similar to the ones for CDI, Guice and EasyDI. |
Hello, I'm using Dagger 2 to provide:
I'm not sure what you want to ask in this context, I still let MVVMFX provides scopes, resources, context, view model. :-) |
No problem if you can't find the time to investigate this. For the dagger part: |
Hello, no I don't connect dagger 2 to mvvmFX as you're proposing. I think your framework is managing well DI so I don't see the added-value immediatly (although while writing this mail, I could see some). What I'm currently doing is defining a global graph component in my Main class. That graph is public static and I've an AppComponent that provides inject method for every types of class I have. So, in almost all cases, my first statement in the "public void initialize()" method is "MainApp.component.inject(this)". |
Ok. If you integrate it some time in the future, we would be interested in your feedback. I think we should stop the dagger topic here or move it into it's own thread/issue. |
At the moment we have a wiki article on how to improve usage of mvvmFX with IntelliJ IDEA by creating file templates.
We should add sections for netbeans and eclipse too with similar functionality.
The text was updated successfully, but these errors were encountered: