Remplace contextual menu of the tree view by a custom contextual menu.