Keep the bar green to keep the code clean

Home  >>  Keep the bar green to keep the code clean

SWT Look and Feel: Customize FlatScrollBar Color and More

28 Jan 2015
Recently I introduced a custom slider control useful for improving the SWT look and feel of more subtle view layouts. Happily it seems the widget already found early adopters outside of the Code Affine world. Which led to some enhancements that will be presented in the following sections. SWT Look...

Apache FOP Integration with Eclipse and OSGi

20 Jan 2015
Apache FOP is an open source print processor driven by XSL formatting objects (XSL-FO). It can be quite useful to transform data objects into a PDF for example. However it turned out to be somewhat cumbersome to get it integrated into PDE and finally up and running as OSGi Service....

A Small Update for Gonsole

12 Jan 2015
If you follow the respective channels you will certainly have read that recently a critical security vulnerability has been discovered in Git. The issue did not only affect Git itself but also all other Git implementations. Among them JGit, which Gonsole uses to actually execute the entered commands. Luckily, together...

Sacrilege – a Custom SWT Scrollbar

17 Dec 2014
SWT is a thin abstraction layer on top of native OS widgets. Which is a very good thing if you intent that your applications integrate well with the OS look and feel. But as a trade-off this approach limits styling capabilities significantly. In particular I perceive the native SWT scrollbar...

JGit Authentication Explained

09 Dec 2014
Authentication in JGit is mostly on par with native Git. Commonly used protocols like SSH and HTTP(S) and their authentication methods are supported. This article summarizes how to use the JGit authentication API to access remote Git repositories securely. Though the examples in this article use the CloneCommand, the described...

Deferred Fetching of Model Elements with JFace Viewers

02 Dec 2014
Model elements displayed by Eclipse JFace Viewers sometimes take a considerable amount of time to load. Because of this the workbench provides the type IDeferredWorkbenchAdapter to fetch such model elements in background. Unfortunately this mechanism seems to be supported only for AbstractTreeViewer derivates via the DeferredTreeContentManager. Hence I developed a...

SWT Mouse Click Implementation

26 Nov 2014
Doing a bit of SWT custom widget development lately, I stumbled across the question why is there no such thing as a default SWT mouse click listener? As this subject raises once in a while, I thought writing a word or two about the rational ground behind – and how...

OSGi Testsuite: Introducing Classname Filters

12 Nov 2014
OSGi Testsuite is a JUnit test-runner that collects dynamically test classes for execution. It has been published by my fellow RĂ¼diger about a year ago and proven useful in some projects already. However for gonsole we had to use an ugly patch because version 1.0 only supported .*Test postfix matching...

Efficient Creation of Eclipse Modules with Maven Archetype

05 Nov 2014
Maven Archetype is a project templating toolkit that provides developers with the means to generate parameterized versions of built-in or custom scaffolding artefacts. Recently I applied it to our Xiliary P2 repository to achieve automation of Eclipse module stubs creation. As it worked out well enough, I thought it might...
No more posts
No more posts