Eclipse Yoxos Services Downloads Blogs About
Home > Blogs >

Posts Tagged ‘google’

on Feb 21st, 2011An open source visual editor for Rich Internet Applications – the Eclipse way

A few weeks ago Google announced their WindowBuilder contribution to the Eclipse Foundation. The WindowBuilder was originally created by Instantiations and moved to Google after they swallowed Instantiations back in 2010. Anyway, the WindowBuilder is a first class visual editor for creating UIs and will be maintained by Google. It contains an Editor for three UI toolkits: GWT, Swing and SWT. And the coolest thing about the WindowBuilder is that it’s completely open source because it’s an Eclipse project now.

So, you probably know that there is a Rich Internet Application technology under the umbrella of Eclipse too. It’s called Rich Ajax Platform (RAP). RAP provides the SWT API which is also used within Eclipse. As a result, theoretically it should be no problem to use the WindowBuilder’s SWT Designer to create RAP applications and with it a Rich Internet Application. Today I found some time to check it out and I’m happy to say that it works like a charm.

All I had to do was create an Eclipse Plug-In project, change the dependency from org.eclipse.ui to org.eclipse.rap.ui and I could start designing my UI.

windowBuilder1 1024x620 An open source visual editor for Rich Internet Applications   the Eclipse way

On the screenshot above you can see my little experiment. It’s an SWT Shell with a group box and some TabItems filled with random Controls. One nice feature of the SWT Designer is that it provides a preview of the UI. So, the UI will look very similar to the one on my Mac below.

windowBuilder2 An open source visual editor for Rich Internet Applications   the Eclipse way

The next step after designing this UI (I know it’s really a masterful work icon wink An open source visual editor for Rich Internet Applications   the Eclipse way ) was to create a RAP launch configuration that would start the application in a browser. And poof, there it was: a RAP application completely created with the WindowBuilder.

windowBuilder3 An open source visual editor for Rich Internet Applications   the Eclipse way

I don’t know if the Google guys know this, but their WindowBuilder actually supports 4 UI toolkits. The three mentioned above and RWT, the SWT port for RAP.

To try it yourself,  I recommend that you download the latest Eclipse package containing RAP from here. After installing you can use the WindowBuilder’s software site to install it into your IDE.  You can use my example project which already contains a launch configuration (don’t forget to switch your target before launching.)

Have fun clicking the UI together icon wink An open source visual editor for Rich Internet Applications   the Eclipse way .

on Jun 15th, 2009Google Wave and ECF

As part of our next release cycle, the Eclipse Communications Framework (ECF) project is going to implement the Google Wave Protocol as described in this enhancement request.  Please join the request if you are willing to contribute to this effort, or would like to use the implementation.

This will make it easy for Eclipse and any Equinox, RCP or RAP-based application to interoperate with other Google Wave applications.

on Jan 30th, 2009Service Widgets and e4

Yesterday I stumbled upon a pretty interesting google code project, the Google Visualization API.  The Google Visualization API enables you to expose your own data through a number of Visualization Widgets, which are made available as a service.

Here is a screenshot from the geo map widget:

graphwidget Service Widgets and e4

Google Graph Widget

This got me thinking: Is there place for “service widgets” in the Eclipse platform (possibly in e4)? These could likely be used with RAP fairly easily, but we could also wrap these up with the browser widget and expose a Java API similar to SWT/JFace (or even an EMF model to represent the data) for rich client applications. Of course, for these to work your users would have to be connected to “the cloud”.

Thoughts?

© EclipseSource 2008 - 2011