Replies: 7 comments 3 replies
-
Certainly the use of abeille has been a disincentive for adding new features that require GUI updates as well. |
Beta Was this translation helpful? Give feedback.
-
Agreed. I think splitting out one example and looking at how IntelliJ can handle it would be worthwhile.If I may, I’d suggest the Token Editor. I know it’s the most complex of the dialogs (the State editor is a close second), but if a complex one won’t work, there’s no need to try the easy ones, right…?
|
Beta Was this translation helpful? Give feedback.
-
Love the idea as I've also struggled Abeille. My biggest annoyance with Abeille was how opinionated it is (might be my lack of experience with designers as well 🤷). Everything is on an explicit grid, so adding rows/columns or trying to lay out elements outside of the grid paradigm is tricky. E.g., when I added the *BL buttons to the Topology panel of the Edit Token dialog, it was quite a pain to figure out how to not mess up the rest of the UI that was already neatly arranged on its grid. I'm hoping we can move to a less opinionated designer. How does the IntelliJ designer look from that angle? |
Beta Was this translation helpful? Give feedback.
-
An other approach would be to use eclipse windowbuilder for UI. It parses and changes the java ui code. That way the use of an gui editor would be optional. Downside is that you have to use eclipse for ui editing. Upside is that we could use layouts that intellij does not support like MigLayout. |
Beta Was this translation helpful? Give feedback.
-
Yeah, Eclipse is... kinda "ugh" nowadays. :) How about the IntelliJ GUI designer plugin instead? https://www.jetbrains.com/help/idea/gui-designer.html Edit: Looks like their GUI designer won't generate Java source code when the project is built via Gradle. Sigh. https://www.jetbrains.com/help/idea/gui-designer-output-options.html Too bad since they include a JGoodies-like FormLayout which hopefully would've allowed for really easy conversion. |
Beta Was this translation helpful? Give feedback.
-
I looked at the eclipse windowbuilder and it works quite nice. But it has it's own issues:
I played with intellij gui designer and it works quite nice. My setup:
I changed our AbeilleForm class to load arbitrary Components as UI. Now I can switch between abeille xml, java code generated by abeille and java code generated by intellij. |
Beta Was this translation helpful? Give feedback.
-
See PR #3785 for necessary changes and feel free to play around with the editor. |
Beta Was this translation helpful? Give feedback.
-
I made some changes to the MT UI and I find abeille to be a great PITA:
There are not many other gui editors available for swing:
I played a bit around with the intellij designer and found it quite good:
Generating the java code from the xml needs an ant task from jetbrains and we need the forms runtime to. Both are available via maven repos.
We also don't have to recreate the ui. I found this working:
I plan to to a draft PR for a dialog so we can look at it in more detail.
Any thoughts?
Beta Was this translation helpful? Give feedback.
All reactions