Posts Tagged ‘eclipse’

Tips on developing Eclipse plugins – VII.

Monday, February 4th, 2008

Have you ever wondered how to:

  • Run some code on plugin startup?
  • Set text file encoding?

If the answer to any of these questions is yes, be sure to read on!

(more…)

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

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

Tips on developing Eclipse plugins – II.

Thursday, December 27th, 2007

Here we go again :) In this article I try to shed some light on:

  • Dialogs
  • Compound document operations
  • Markers

(more…)

Tips on developing Eclipse plugins – I.

Sunday, December 16th, 2007

I have been recently working on a new JetMinds product (details will be disclosed soon) which included developing set of Eclipse plugins containing (but not limited to) custom editors with syntax coloring, editor outline, content assistant and other various tools similar to ones already available in Eclipse’s Java editor.

I have encountered several problems regarding Eclipse complexity, the lack or obscurity of the documentation and examples etc. That’s why I began to wrote this series of articles. This is not striving to be complete guide as I just wanted to pinpoint some concepts and ideas I found interesting.

In this article I try to cover:

  • UI (SWT) thread issues
  • Getting reference to an active editor
  • Some IFile issues
  • Opening file in its editor

(more…)