MQL-Editor - civilized this time
Are you tired of having to work with crappy UI-toolkits like the Sucker's Widget Toolkit? Do you prefer a working out-of-the-box experience that runs the same way no matter what Operating System or hardware you use? Tired of having to cope with compatibility and native library issues?
Me too.
That's why I spend the day rewriting the MQL-Editor in Swing. The original editor was written using the abomination called SWT. But getting SWT code to run cross-platform is a nightmare and usually ends up in a lot of screaming and throwing stracktraces on each other. As I wasn't able to get the thing running on my Linux-Box without exceptions. After once more tracing it down to the class of "SWT does not work with Swing" problems we faced over the last years, I cannot bear it anymore.
NO MORE SWT!

As the MQL-Editor is a thin layer on top of the Pentaho-MetaData system, rewriting this functionality is faster than trying to cope with the bad design of SWT. And above all: It is guaranteed to work within 24 hours, and it solves all the SWT-vs.-Swing integration problems by killing SWT. That's a clear message, isn't it?
So here we are. The Swing version covers all the functionality of the original dialog and adds some extra validation of the input (so that it is impossible to continue with invalid queries).
Grab it at: svn://source.pentaho.org/pentaho-reporting/libraries/mqleditor
Re: MQL-Editor - civilized this time
I wrote the original (SWT) MQL Editor way back at the time to do tests because I was lacking a reporting tool to go with the metadata layer we wrote. I don't think it took a day to write it.
Tell me Thomas, do you make the editor look that bad in Swing on purpose or does it come for free?
;-)
Matt
Tell me Thomas, do you make the editor look that bad in Swing on purpose or does it come for free?
;-)
Matt
Me not power-user! Me loser-user! Help me!
Thomas,
Congrats on this work. This is the true marvel of open/free software: whoever knows how to make it better is enabled to do it. As a user, who profits a lot from your efforts, thanks for your great job!
However, I am not a "recompile-things" user - I do not know enough, but I would like to have the new MQL-Editor for Metadata, so, When are you Pentaho guys creating a new build using it, then I can download the dummy-user-proof package from SourceForge?
Best regards,
Fabio
Congrats on this work. This is the true marvel of open/free software: whoever knows how to make it better is enabled to do it. As a user, who profits a lot from your efforts, thanks for your great job!
However, I am not a "recompile-things" user - I do not know enough, but I would like to have the new MQL-Editor for Metadata, so, When are you Pentaho guys creating a new build using it, then I can download the dummy-user-proof package from SourceForge?
Best regards,
Fabio
Me not power-user! Me loser-user! Help me!
The Swing-Version will not make it into a official release for the next GA version (as the GA is due in a few weeks, and adding new functionality [even as sane as this one] is a no go at that point).
As I needed the fix to continue working, I started to create that dialog, and until it makes it way into the official code line, I will maintain a patched version of the report-designer (also containing the 0.8.9-5 engine which fixes some more issues).
As I needed the fix to continue working, I started to create that dialog, and until it makes it way into the official code line, I will maintain a patched version of the report-designer (also containing the 0.8.9-5 engine which fixes some more issues).