def __onSpecialActionButtonClick(self, responseDict):
     congratsType = responseDict.get('congratsType')
     if congratsType in BLUEPRINTS_CONGRAT_TYPES:
         vehicleCD = _getVehicleCD(responseDict.get('congratsSourceId'))
         if vehicleCD is not None:
             self.__onWindowClose()
             showBlueprintView(vehicleCD)
     return
Exemplo n.º 2
0
 def navigateToBlueprintScreen(self, itemId):
     shared_events.showBlueprintView(itemId, blueprintExitEvent())
 def navigateToBlueprintScreen(self, itemId):
     self.filter.update({'scroll_to': itemId})
     self.__needToResetScrollTo = False
     shared_events.showBlueprintView(itemId, blueprintExitEvent())
Exemplo n.º 4
0
 def goToBlueprintView(self, vehicleCD):
     shared_events.showBlueprintView(vehicleCD, self._createExitEvent())
Exemplo n.º 5
0
 def showVehicleBlueprint(self):
     shared_events.showBlueprintView(self._nodeCD)