How get Spotfire UI details using Vaadin


I'm currently using a Spotfire plug-in to show report and exposing it as a web application using Vaadin. I want to know how I can get the tab details inside the Spotfire plug-in so that I can dispay notification based on the tab selected in the Spotfire plug-in.