Archive | 3.x 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 […]

About these ads
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

Rotating Image in a PaintListener

For those who have a better understanding of matrices and 2-D graphics this may sound strange but today I struggeled about 2 hours rotating an image in a PaintListener. Let me first of explain the exercise I had to solve, then show you my solution and then maybe someone can point out a better one. […]

Continue reading

Disable parts SWT-Table/Tree with SWT.CHECK

This is a hack, a hack, a hack posting. I have read many many entries on the newsgroups asking a question like this: How can I disable certain check boxes in an SWT-Tree/Table. Is this possible? The standard answer to this was: “Sorry no this is not possible”. Today I faced the same problem (mine […]

Continue reading

Get every new post delivered to your Inbox.

Join 599 other followers