Eclipse 4 is definitely going to be a major improvement, first of all because of the fixed maven support, but there is more!
Part of e4 (the new eclipse), is a new way to describe SWT layouts, named "XWT" (do not confuse with xwt.org).
In one of the projects I was working on, we used Google web toolkit, that has this thing called UIBinder to help creating layouts. I found it quite convenient and an easy way to get a good feel for the actual layout.
It turns out that there's a tool called WindowBuilder pro, created by Google and recently donated to eclipse. This allows for designers to visually create layouts for Swt, Swing, GWT, etc. It works like a charm!
Now, since I'm using maven to fetch my dependencies, the project setup was not completely trivial. The libraries for XWT are not documented that well and are not available in any public maven repositories.
So, to get started I had to copy libraries from my eclipse installation (that uses swt), and mix and match the right ones. After having done this though, it's rock stable.
Actually there was a typo of the e4 XWT site which totally broke the system. After long dwellings along forums, I finally found the problem. I updated the e4 XWT page to show the correct examples.
http://wiki.eclipse.org/E4/XWT
I'm very glad that I don't have to fall back to the Netbeans Swing designer and/or code generation.
I will post the list of libraries needed here asap, since I can highly recommend using XWT!
2 comments
I'm currently trying out some Model-View-Presenter tricks with XWT, it's looking quite promising, so maybe I'll be posting some more soon.
These are the libraries I used to get things started with e4 XWT:
org.eclipse.core.commands_3.6.0.I20110111-0800.jarorg.eclipse.core.databinding.observable_1.4.0.I20110222-0800.jar
org.eclipse.core.databinding_1.4.0.I20110111-0800.jar
org.eclipse.e4.xwt.forms_0.9.1.SNAPSHOT.jar
org.eclipse.e4.xwt_0.9.1.SNAPSHOT.jar
org.eclipse.equinox.common_3.6.0.v20110523.jar
org.eclipse.jface.databinding_1.5.0.I20100907-0800.jar
org.eclipse.jface_3.7.0.I20110522-1430.jar
swt-debug.jar