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