Example #1
0
 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)
Example #2
0
 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)
Example #3
0
 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)
Example #5
0
 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
Example #7
0
 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 showModuleInfo(self):
     if self._equipmentCD is not None and g_currentVehicle.isPresent():
         shared_events.showModuleInfo(self._equipmentCD, g_currentVehicle.item.descriptor)
     return
Example #9
0
 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
Example #12
0
 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
 def showModuleInfo(self, itemCD):
     if itemCD is not None and int(itemCD) > 0:
         shared_events.showModuleInfo(itemCD, g_currentVehicle.item.descriptor)
     return