Planet Eclipse

For those of you who don't know, the Eclipse SDK now ships an implementation of OSGi Declarative Services (DS). I love DS when working with OSGi services and recommend it to people over using the brittle ServiceTracker mechanism. I'm a big proponent of having people learn by example. To help people understand DS a bit more, PDE includes a DS template now. To access the...

Read More

Enabling RCP applications to work with different locales is an essential requirement for server-side Eclipse setups. Multiple users are accessing the same instance of a running application concurrently, and each one should see the UI in his preferred language. Providing a server-side platform, the RAP project faced this problem too and we needed to find solutions to support multiple locales. Recently I had the chance to...

Read More

Have you had the experience of creating an interesting application, exporting it, generating a p2 repository, connecting to your repository, and *BAM*, nothing there!  The reason this happens is because you likely didn't categorize your repository. Consider the following: I have created three fun games for Cell Phones: Tetris, Snakes and Pong.  Of course, to implement these I used eSWT, eRCP, ECF, GEF, EMF, OCL, BIRT...

Read More

Ever wanted to get a print out of all components that make up a piece of UI? This little recursive snippet does that for you. [code lang="java"] private void printChildren(Composite composite, int count) { StringBuilder spaces = new StringBuilder(count * 2); for (int i = 0; i < count * 2; i++) { spaces.append(' '); } for (Control c : composite.getChildren())...

Read More

In previous blog posts I've blogged about ECF's upcoming implementation of RFC 119. In this post, I would like to jump out of the description of RFC 119 and talk about how the implementation of RFC 119 and ECF remote services fit together...

Read More

Eclipse 3.5 M7 is out! Get it while it's hot! (new and noteworthy) Note this is the last major milestone release of Eclipse for Galileo and marks feature freeze. No more new features after this milestone, only bug fixes until the Galileo release in late June. Here are some of my favorite noteworthy items: SWT.SHEET support Improved PDE Target Provisioning Support PDE API Tooling Comparisons I hope you enjoy the...

Read More