Code snippets from my Eclipse Tips blog