Blogs

I was catching up with a colleague today at a coffee shop about his OSGi-based product and the topic of versioning came up (he also bribed me with free espresso shots). My colleague's company recently released the "2.0" version of their product and were ready to move to the next release (3.0). The common pattern they were using was to simply artificially synchronize all plug-in...

Read More

Ever use the OSGi console included in Eclipse (i.e., run the eclipse executable with -console)? Ever wanted to add your own console commands for your application? If so, the process is pretty easy and straightforward. The first step is to implement the CommandProvider interface. Here is a simple and fun example: [code lang="java"] package com.code9.examples.console; import org.eclipse.osgi.framework.console.CommandInterpreter; import org.eclipse.osgi.framework.console.CommandProvider; public class MyCommandProvider implements CommandProvider { public Object _iddqd(CommandInterpreter intp) { intp.println("Immortal mode enabled"); ...

Read More

I was helping a colleague today with a key binding issue that I think is fairly common. To illustrate the problem, let's look at what happens when you press CMD+N in the RCP mail sample: What!? New Project Wizard? That's not what I wanted! In this case, I actually wanted a 'New Message' to pop up instead of that new wizard. I don't want any of...

Read More

As Neil pointed out in Having fun with RAP and OSGi there is a challenge for us rappers: Provide a look & feel of RAP applications suitable for the web. We do not claim that we are completely there, but introducing the PresentationFactory is a big step forward. You now no longer depend on our design capabilities, just do it yourself. And to help you get...

Read More

The RAP team just announced the availability of RAP 1.1 M3. Some new things in this release: UI Mouse Events - Controls will notify mouse listeners on mouse up, down and double-click events. Theming Variants - Define multiple theming styles for the for the same widget type. Want blue buttons and green buttons? Now you can do it. Background Images - You can now use a background image on most controls. Transparency...

Read More