add conect-menu to table

Hi
How can I add a context menu to items of a table?

Thanks and Regards.

Use
http://vaadin.com/api/com/vaadin/ui/Table.html#addActionHandler(com.vaadin.event.Action.Handler)
.

And here’s an example:
http://demo.vaadin.com/sampler/#Components/Table%20(Grid)/TableActions

You can view the source for that demo, too, by clicking “View Java Source” below the top bar.