onTreeRightClick()
This function is called after clicking with right mouse button on any item in tree window.