Tree - handle right click

Hi, I got problem with handle TreeMenuAction with one right click - I want to get on right click : select the tree item and get actionMenu ?

Add
ItemclickListener
to select item on right click and
ActionHandler
for actions…

To supplement Agata, here is the link to the example in the Sampler:

http://demo.vaadin.com/sampler-for-vaadin6#TreeTableContextMenu