Monthly Archives: December 2009

Browser Tales – Java to JavaScript and vice versa with the SWT Browser Widget

The SWT Browser widget makes it very easy to run HTML and JavaScript within Eclipse. This widget encapsulates a browser (system dependent) into a SWT widget. The following screenshot is from the second example below. This example is based on … Continue reading

Posted in Eclipse | Tagged , , | 1 Comment

Evolving EMF Models

I recently wanted to evolve one of my EMF models. I started writting Java code for translating the EMF model and tweeted about this. Seems like their are several very good options available for translating EMF models: XSLT together with … Continue reading

Posted in Eclipse | Tagged , | 8 Comments

Re-using the Eclipse proxy preference settings in your Eclipse RCP application

The following demonstrates how to re-use the Eclipse proxy preferences in an Eclipse RCP application. Create a project “” and select the “RCP application with a view” as template. Add the preferences command to your application. See Eclipse Preferences Tutorial … Continue reading

Posted in Eclipse | Tagged , , , | 5 Comments

Defining menu entries (commands) at runtime in Eclipse RCP

A common question I receive is how menu entries can be defined at runtime in an RCP application. The following gives an example how this can be done. Create the RCP project “de.vogella.rcp.commands.runtimecommands” using the “Hello RCP” template. Define a … Continue reading

Posted in Eclipse | Tagged , , | 8 Comments