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