On Sat, 23 Aug 2008 19:25:35 +0200, Sanne Grinovero
thanks for your attention, I'll attach my current version (absolutely
untested) just to give the idea.
If you look at the current trunk the last listener handling
is not consistent with the others; I thought it was "suspect",
but forgot to mention it in my previous post.
Your code seems to be a step into the right direction and a good exaple
for the use of generics. Personally, I would use explicit if statements
insead of the ?: operator, but that's a matter of taste.