Archive | Enhanced RCP RSS feed for this section

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 [...]

Read more

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 [...]

Read more

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 [...]

Read more

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 [...]

Read more

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 [...]

Read more

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 [...]

Read more

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 [...]

Read more

Follow

Get every new post delivered to your Inbox.

Join 73 other followers