openHAB Binding Dev Issue

Hi

I successfull got the openHAB 1 IDE working and generated a Binding like described on Wiki. But I really have a Issue with the programming of my Binding. I like to get the events from the items. For e.g. when I have a Switch Item I want to get the Events of them. But I’m not 100% sure how I can get this. I set up a Switch in the demo.items file and point that to my binding.

Switch Light_GF_Toilet_Mirror 		"Mirror" 		(GF_Toilet, Lights) { mybinding="test" }

When I now put a Breakpoint to the Function internalReceiveCommand and internalReceiveUpdate in Debug Mode and switch the switch I get no Event. I don’t know what I can do more. It should appear in one of the Function or am I wrong with this Idea?

Thanks for any help

tolin