Tray window implementation from Mylyn, extracted for other notification system usages.