Createing Java Emitter Templates

There are many ways you can go about to produce your Java Emitter Template (JET). During the process of developing my plug-in I gathered some experience that might make the process of creating a JET easier.
„Createing Java Emitter Templates“ weiterlesen

Effective Eclipse Plug-ins

The architecture of Eclipse and the structural concept of the underling OSGi framework are sometimes hard to combine with „effective Java“ programming as Joshua Bloch propagates it in his book „Effective Java„.
When you want to extend the functionality you must make certain compromises designing your API. This article describes how you can implement functionality with exposing a minimal API.
„Effective Eclipse Plug-ins“ weiterlesen

Refactoring into a Component

When you design a graphical user interface strait forward (meaning you don’t plan on the final product) you might sometime realise that you have components that would be useful in other GUIs as well. The refactoring of such a component can be tricky especially consearning the preserving of the layout (the optical impression to the user). Therefore this article should shed some light on how to wrap a simple Lable into its component.
„Refactoring into a Component“ weiterlesen

Adding context sensitive Help to your Plug-in

For my Code generation plug-in I wanted to add some context sensitive help. Looking for any hints I only found a quick description at Macrobug’s that dates back in autumn 2007 when Eclipse 3.3 (Europa) was the current platform. Following these steps I could not produce any meaningful results. Therefore I figured it out on my own and present my solution here for anyone interested.
„Adding context sensitive Help to your Plug-in“ weiterlesen

Cannot find extension point

I just fixed some weird behaviour with one of my plug-ins that depend from another one since it uses some extension point. The message was that the extension point in the plugin could not be found. After some search on the net I stumbled upon the Eclipse Wiki Book. All the tips mentioned there did not help. What I noticed though was a bunch of access rules. Among them the following: forbidden */**. So I compared the Manifest file with other plug-ins there I noticed the one with the problem had an entry „Eclipse-Buddy: global“. Removing this line got me rid of the access rules and my problem.
Since all other plug-ins are based on 3.2 and only this on 3.4 I figure that might be the problem.