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
Example #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())
Example #4
0
 def goToBlueprintView(self, vehicleCD):
     shared_events.showBlueprintView(vehicleCD, self._createExitEvent())
Example #5
0
 def showVehicleBlueprint(self):
     shared_events.showBlueprintView(self._nodeCD)