Tree.getSelectionModel().deselectAll() after this item in tree not selected any more if deselect like this List<TreeItem> list = tree.getSelectionModel().doGetSelectedItems()
and deselect by item it wrok normal (Item select after this)