Author: Elias Volanakis

Starting out with Eclipse Riena?  I hope you find my one-picture-summary of the Riena UI and navigation useful: Conceptually the window is divided into the navigation tree on the left - showing a navigation model - and the work area on the right - showing the view that is currently active. Other window areas are the menu bar, the coolbar and the status bar. The navigation tree shows the...

Read More

The Linux Foundation just published a report with metrics about who and how much is contributing to the Linux kernel. As an Eclipse committer I found this insight into the kernel ecosystem fascinating. Below are couple of data points that got my interest. Comparing kernel development over the last year (release 2.6.30 with 2.6.22): development speed is increasing (patches per release: 50-100% up, lines of change per day:...

Read More

If you are into unit testing, you may find EasyMock quite useful. It is very valuable for making hard-to-test-code testable. For example I recently was adding tab-switching via keyboard to Riena. The state of each tab is kept in an interface named INavigationNode which has about 40 methods (!). Creating a mock by hand for such a big interface would not be fun at all. With...

Read More

When adding keybindings to an existing Eclipse RCP application, it is extremelly helpful to get realtime information about which keybinding registered and to what command handlers it is mapped to. Why is that?  Because sometimes the operating system or another widget will consume the keyboard event before it gets to the command framework. Other times there are several handlers bound to the same key causing a...

Read More

With all excitement for the Galileo release, we totally missed to mention that the RAP Incubator project was approved. This is a great way to accept, distribute and mature community contributions. I look forward to some new widgets and improved tooling. For starters the project contains: chart support via the Google Visualization Widgets the GCCanvas widget an editor for RAP themes Read on for more details on these goodies. Google Visualization...

Read More

This Thursday we had a great Galileo DemoCamp in Portland. Pictures from the event are on Gabe's blog and Darin has posted a summary of all presentations. Thanks to the nice folks at Instantiations and the Eclipse Foundation Portland for putting this together! You'll find the slides of my presentation 'RAP and the Eclipse Download Wizard'  below: To learn more about creating apps for RCP and RAP from a single...

Read More

If you are at JavaOne, drop by the Eclipse Foundation (Mo 5-7pm, Tu 11:30-1-30) or EclipseSource booths (all week) for a demo of the Rich Ajax Platform (RAP). In my demos, I'll focus on the CSS customizations and enhanced theming capabilities that ship with the new with RAP 1.2 release (Galileo). Here's a screenshot showing a 'RAP Addressbook' application: It is inspired by Kai's recent work on the...

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