def METHOD_NAME(self, event):
    if self.blockSelectEvent == 0 and self.blockViewModelObject == 0:
        self.blockViewModelObject += 1
        #self.modelXbrl.viewModelObject(self.nodeToObjectId[self.treeView.selection()[0]])
        self.modelXbrl.viewModelObject(self.treeView.selection()[0])
        self.blockViewModelObject -= 1