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
Plugin - Architecture #232
Comments
Now thats an intriguing idea. A lot of UGS already uses observers to communicate information, and the new GUI model object is perfect for sharing the program state between plugins. Have you done anything like this? I'll need to read up on java plugins. Having the GUI be a plugin would open the door for things like an Android port as well. |
Yes i did already something like this in .NET. The approach will be the same. DIY Version: Framework!
I'm not a JAVA expert, but i programmed some little apps in JAVA (years ago) and did once an Ecplise RCP tutorial. But i think if you plan to reengineer USG i would go for an RCP-Frameworkm (Netbeans). I think the GUI can not be a pluing. There is alway the main prgramm wich provides the interface to the GUI, then you can load the "UGS"-model, the main programm also provides the plugin mechnism. If you have the main programm the plugins can provide for ex. panels or menus which will be included in the main-GUI. |
This looks really promising: https://www.youtube.com/watch?v=BXQg_guFL2k |
i quickly build a GUI Mockup with Netbean RCP |
I've been reading up on Netbeans RCP, and experimenting. It's inspiring lots of ideas. Wrapping the UGS.jar file in a Netbeand library wrapper module was simple and work really well. The one annoyance is that updating the jar file needs to be done manually each time. Maybe the UGS.jar build script can be modified to copy the jar into the Netbeans Platform project. There are a couple issues left that I need to investigate further:
|
I'm still thinking about (3), but I got the Netbeans Platform project committed to git and the build is now running on the CI server. The code is integrated to the point where you can connect to GRBL, send some jog commands, and monitor the console status. The visualizer is kind of in but there are some initialization glitches. |
I looked to the UGS Platform. Nice! |
i worked on an Non-Platform-UGS Plugin Architeture basicly i implemented the following tutorial (sorry its in German) http://www.java-blog-buch.de/d-plugin-entwicklung-in-java/ |
@rugbymauri Really interesting that you were able to implement a plugin system. I'm pretty happy with the RCP approach now. |
A big enhancement for the project will be a plungin architecture.
By putting jar's in a plugin-folder you can extend the UGS.
the Plugin-Interface shoud provide interfaces to:
The text was updated successfully, but these errors were encountered: