Category Archives : Eclipse

Home  >>  Eclipse

Speed up Your Builds with Codeship ParallelCI

On February 17, 2015, Posted by , In Common,Eclipse, By ,, , With No Comments

Some time ago we were in need for a hosted CI service for a project that was held in a private GitHub repository. And in Codeship we found a suitable solution to build, test and deploy the code from the private repository. Soon we got excited by the reliable internet…

SWT Look and Feel: Customize FlatScrollBar Color and More

On January 28, 2015, Posted by , In Eclipse, By , , With No Comments

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

On January 20, 2015, Posted by , In Eclipse,OSGi, By ,,, , With No Comments

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….

Sacrilege – a Custom SWT Scrollbar

On December 17, 2014, Posted by , In Eclipse, By ,, , With 3 Comments

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

On December 9, 2014, Posted by , In Eclipse, By ,,, , With No Comments

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 securely access remote Git repositories. Though the examples in this article use the CloneCommand, the described…

Deferred Fetching of Model Elements with JFace Viewers

On December 2, 2014, Posted by , In Eclipse, By ,, , With 3 Comments

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

On November 26, 2014, Posted by , In Eclipse, By ,, , With No Comments

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

On November 12, 2014, Posted by , In Eclipse,JUnit,OSGi, By ,, , With 4 Comments

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

On November 5, 2014, Posted by , In Common,Eclipse, By ,, , With No Comments

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…

Lightweight Integration Tests for Eclipse Extensions

On November 3, 2014, Posted by , In Eclipse,JUnit, By ,,,, , With No Comments

Recently I introduced a little helper for Eclipse extension point evaluation. The auxiliary strives to reduce boilerplate code for common programming steps, while increasing development guidance and readability at the same time. This post is the promised follow-up that shows how to combine the utility with an AssertJ custom assert…