May 8th, 2008
Na iPhone mi docela chyběla možnost synchronizovat jeho vnitřní kalendář s mými kalendáři z Google Calendar. Jde to nepřímo, pomocí iTunes a MS Outlook s iCal pluginem (alespoň jsem na něco takového narazil na netu), ale přeci jenom přímý způsob je přímý způsob, a tak jsem si napsal jednoduchou utilitku ics.

Read the rest of this entry »
Tags: .NET, Calendar, Google Calendar, Synchronization, iPhone
Posted in .NET, iPhone | No Comments »
March 11th, 2008
I needed to directly modify pixel values of several images in a special way. First, I looked into Gimp’s Script-Fu functionality, but this seemed too complicated for what I needed so I decided to write such one-off utility in Java.
It simply reads all GIF images in specified directory, does some custom transformation of pixels, and then writes images back onto disk. It is really quick’n'dirty so be warned
Source code: ImageManipulation.java
Posted in Bits and pieces, Java | No Comments »
February 24th, 2008
Reading and writing CLOBs and BLOBs from/to Oracle database via Spring’s JdbcTemplate might be a little bit confusing as it significantly differs from dealing with other types. Interested? Read on…
Read the rest of this entry »
Tags: blob, clob, jdbc, oracle, spring, sql
Posted in Java | 3 Comments »
February 6th, 2008
I ran into several issues during the development of an application which is to be run in OC4J 10.1.3.1 and needs to use SOAP web services and Oracle AQ (Advanced Queueing) messaging:
- Classpath hell debugging
- Oracle XML parser crashes on SOAP response
- Using custom AQ message payload (Oracle ADT message)
If anyone encountered such problems, read the rest of the article for tips and solutions.
Read the rest of this entry »
Tags: aq, messaging, oc4j, soap, spring, web services
Posted in Java | No Comments »
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!
Read the rest of this entry »
Tags: Java, eclipse, plugin, rcp
Posted in Java | 1 Comment »
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.
Read the rest of this entry »
Tags: Java, bugzilla, eclipse, jface, php, plugin, rcp, swt
Posted in Java | 1 Comment »
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().
Read the rest of this entry »
Tags: Java, XML
Posted in Bits and pieces, Java, XML | No Comments »
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
Read the rest of this entry »
Tags: Java, eclipse, jface, plugin, rcp, swt
Posted in Java | 1 Comment »
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
Read the rest of this entry »
Tags: Java, eclipse, jface, plugin, rcp, swt
Posted in Java | No Comments »
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
Read the rest of this entry »
Tags: Java, eclipse, plugin, rcp, swt
Posted in Java | No Comments »