Archive for January, 2008

Tips on developing Eclipse plugins – VI. – Automatic exception reporting to Bugzilla

Wednesday, January 23rd, 2008

Bugzilla is well known bug tracking software. I would like to show simple solution on how to implement automatic submitting of uncaught exceptions (caused or somehow connected with our code) to company Bugzilla system.

(more…)

Tweaking XOM parser – element position support

Tuesday, January 22nd, 2008

XOM parser is a great piece of code. I was missing just one feature – to be able to get position of element in source file (line and column). So I did a quick and dirty hack resulting in two new nu.xom.Element methods: getLineNumber() and getColumnNumber().

(more…)

Tips on developing Eclipse plugins – V.

Monday, January 21st, 2008

Complex systems usually need some kind of asynchronous messaging and caching for better performance. And yes, that’s pretty much what this article is about. Let’s dive into the following issues:

  • Custom event listeners
  • Soft reference cache
  • Preventing memory leaks when using cached objects & listeners

(more…)

Tips on developing Eclipse plugins – IV.

Saturday, January 19th, 2008

In today’s article I am going to describe a bunch more useful techniques for JFace which might be used in Eclipse Plugin Development as well. It will be:

  • How to get the index of selected column in TableViewer
  • How to create and use TreeViewer with multiple equal items

(more…)

Tips on developing Eclipse plugins – III. – Project Decorators

Monday, January 7th, 2008

Today I would like to say few words about Project decorators which are useful for altering the text and/or icon of resources in Package Explorer and Navigator. So don’t hesitate and read the rest of the article :)

(more…)