def edit_item(self): handle_excpetions(self.project_info.parent, lambda: edit_product_dialog(self.project_info, self.text()), ExceptionTypes.Product())
def display_item(self): handle_excpetions(self.project_info.parent, lambda: display_product_settings_dialog(self.text(), self.project_info), ExceptionTypes.Product())
def new_item(self): handle_excpetions(self.project_info.parent, lambda: new_product_dialog(self.project_info), ExceptionTypes.Product())