There is no exact sample as you described but let us suggest two samples. Please explore following samples and you can sort of combine them into your plugin.
I wonder if what you ask is as simple as to switch to the Alarm Manager workspace (tab). If this is what you seek you can see how to do so in the Smart Client View and Window Tool sample (on the workspace tab).