Archive | 3.x RSS feed for this section

Flexible calendar control in SWT

I’ve been in need for Week-Calendar view to display appointments but could not find anyone that completely fit my needs to I implemented a custom one. This short screen cast shows what I’ve today. The control is backed by a replaceable service interface to retrieve and store appointments so it can be connected to fairly […]

Continue reading

JFace Viewers in a Java8 world – Part 1 ListViewer

Most people who write RCP applications today know about JFace Viewers and in my opinion the Viewer framework is one of the best programming patterns that came out of Eclipse – easy to understand, easy to apply but still powerful. Still working with viewers in a world of Java8 feels really bad because of 2 […]

Continue reading

JFace-Viewer and Eclipse Databinding with > 10.000 Objects

Inspired by a bugzilla-discussion where virtual support for the nebula grid. I thought I blog a bit about Eclipse Databinding when it comes to big datasets. The standard way used looks like this: Executing this code with the following item count shows the following figures: Object count Time to fill (in ms) 10,000 1,178 30,000 […]

Continue reading

Teneo, OSGi and Javaassist for proxy loading

Yesterday I’ve debugged to get javaassist working with teneo which gave us headaches in the past so we simply turned it off which isn’t really a problem to us but I simply wanted to know why it didn’t worked. As very often when hibernate and OSGi meet each other this is a problem of classloading […]

Continue reading

How to apply the e4 programming model to 3.x

So while I could only encourage everyone to use the Eclipse 4.1 Application Platform (EAP) to write UI-applications, this post is for those who have existing 3.x code which they want to refactor step by step to run on EAP. So if you ever looked at how EAP are developed the first thing you notice […]

Continue reading

Enhanced RCP: Reuse of WritableList in JFace-Viewers

Just because I’ve been running into this today. I thought it might be interesting to others as well. The following is a shortened version of a code I’ve been using in an RCP-Application. Does someone spot the error? I guess not because from it is not visible at all without looking into the implementation of […]

Continue reading

Enhanced RCP: How views can communicate – The e4 way

Some weeks ago I published how views can communicate using the EventAdmin-Service. To get things working in an 3.x application one has to write some glue code but more importantly one has to know about all those nifty things about event publishing, getting access to OSGi-Services, … . One of the main topics of the […]

Continue reading

Enhanced RCP: Usage of TitleAreDialogSupport

Eclipse Databinding comes with many utility classes and one of them is TitleAreaDialogSupport which can be used to show validation errors when running in an TitleAreaDialog. But the default implementation has some missing features: Once a validation error is shown the default message is not coming back when correcting them The Ok-Button does not get […]

Continue reading

Improvement Properties-Editor

I’ve lately worked a lot with property files and what always bothered me was that there was no Outline-View shown for it like it is e.g. for the Java-Files. Typically properties-File e.g. for translations are structured in a hierarchical way e.g. my files look like this: Which means we could group the items in the […]

Continue reading

Enhanced RCP: How views can communicate

I’ve often seen the question in the eclipse newsgroups when it comes to view communication. People often face the problem that their views have to communicate with each other informing about state changes (selection changes are published best through ISelectionService). It looks like many people are not familiar with the OSGi-EventAdmin-Service which is a generic […]

Continue reading

Get every new post delivered to your Inbox.

Join 936 other followers