Posts Tagged ‘plugin’

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

Tipy pro vývoj pluginů pro Eclipse

Sunday, December 16th, 2007

V poslední době spolupracuji na vývoji nového produktu firmy JetMinds (který bude brzy uveden). Projekt zahrnuje sadu Eclipse pluginů s custom editory se zvýrazňováním syntaxe, outline pohledy, inteligentní asistenty a další nástroje podobné těm již dostupným ve standardním Eclipse Java editoru.

Během vývoje jsem narazil na mnoho problémů se složitostí Eclipse, nedostatku přehledné dokumentace, příkladů apod. Proto jsem začal psát tuto sérií článků, která se ale nebude snažit býti kompletní příručkou, spíše jen takovým vypíchnutím zajímavých konceptů a nápadů.

V tomto díle naleznete:

  • Pozor na UI (SWT) vlákno
  • Jak získat referenci na aktivní editor
  • Poznámky k IFile
  • Jak otevřít soubor v jeho editoru

(more…)