def request4Info(self, itemCD, rootCD): """ Overridden method of the class ResearchViewMeta.request4Info """ vehicle = g_itemsCache.items.getItemByCD(int(rootCD)) if vehicle: shared_events.showModuleInfo(int(itemCD), vehicle.descriptor)
def request4Info(self, itemCD, rootCD): """ Overridden method of the class ResearchViewMeta.request4Info """ vehicle = self.itemsCache.items.getItemByCD(int(rootCD)) if vehicle: shared_events.showModuleInfo(int(itemCD), vehicle.descriptor)
def request4Info(self, itemCD, rootCD): vehicle = g_itemsCache.items.getItemByCD(int(rootCD)) if vehicle: shared_events.showModuleInfo(int(itemCD), vehicle.descriptor)
def showModuleInfo(self): vehicle = self.itemsCache.items.getItemByCD(self._rootCD) if vehicle: shared_events.showModuleInfo(self._nodeCD, vehicle.descriptor)
def showModuleInfo(self, itemCD): if itemCD is not None and int(itemCD) > 0: shared_events.showModuleInfo(itemCD, g_currentVehicle.item.descriptor) return
def showModuleInfo(self): if self._equipmentCD is not None and g_currentVehicle.isPresent(): shared_events.showModuleInfo(self._equipmentCD, g_currentVehicle.item.descriptor) return
def showModuleInfo(self, moduleId): if moduleId is None: return LOG_ERROR('There is error while attempting to show module info window: ', str(moduleId)) else: shared_events.showModuleInfo(moduleId, g_currentVehicle.item.descriptor) return
def request4Info(self, itemCD, rootCD): vehicle = self._itemsCache.items.getItemByCD(int(rootCD)) if vehicle: shared_events.showModuleInfo(int(itemCD), vehicle.descriptor)
def showModuleInfo(self): vehicle = g_itemsCache.items.getItemByCD(self._rootCD) if vehicle: shared_events.showModuleInfo(self._nodeCD, vehicle.descriptor)
def showModuleInfo(self, itemCD): if self.__vehicle is not None and itemCD is not None and int(itemCD) > 0: shared_events.showModuleInfo(itemCD, self.__vehicle.descriptor) return
def __onShowItemInfo(self, args): itemIntCD = args.get('intCD') showModuleInfo(itemIntCD, self._interactor.getItem().descriptor)
def _showInfo(self): showModuleInfo(self._intCD, self._getVehicle().descriptor)
def showModuleInfo(self, itemCD): if itemCD is not None and int(itemCD) > 0: shared_events.showModuleInfo(itemCD, self.__vehicle.descriptor) return