Knopflerfish tooltip - Using the desktop bundle to generate events

A handy feature in the KF desktop is the ability to generate events "by hand".

In the desktop there is an "Events" tab that displays all the events received. There is a filter function to select a subset of events.

In this view you can also generate and send new events.

Clicking on "Send" will bring up the following dialog in which you can specify the event topic as well as any number of event properties.

In the example above pressing Send will send out an event using the EventAdmin service with the topic foo and the event property "bar" with the value 10.

This can be a very useful and handy function when testing or debugging an OSGi bundle that uses the EventAdmin service.