Exemplo n.º 1
0
 def requestShowPopover(self, alias, data):
     event = g_entitiesFactories.makeShowPopoverEvent(alias, {'data': data})
     if event is not None:
         self.fireEvent(event, scope=self.__scope)
     else:
         LOG_ERROR('Event of opening popover can not be created', alias)
     return
Exemplo n.º 2
0
 def requestShowPopover(self, alias, data):
     if IS_BOOTCAMP_ENABLED:
         from bootcamp.Bootcamp import g_bootcamp
         if g_bootcamp.isRunning():
             if data is not None and hasattr(data, 'slotType') and data.slotType != 'optionalDevice' and not g_bootcamp.isResearchFreeLesson():
                 return
             if data is None and alias != 'bootcampBattleTypeSelectPopover':
                 return
     event = g_entitiesFactories.makeShowPopoverEvent(alias, {'data': data})
     if event is not None:
         self.fireEvent(event, scope=self.__scope)
     else:
         LOG_ERROR('Event of opening popover can not be created', alias)
     return
Exemplo n.º 3
0
 def requestShowPopover(self, alias, data):
     self.fireEvent(
         g_entitiesFactories.makeShowPopoverEvent(alias, {'data': data}),
         self.__scope)
Exemplo n.º 4
0
 def requestShowPopover(self, alias, data):
     self.fireEvent(g_entitiesFactories.makeShowPopoverEvent(alias, {'data': data}), self.__scope)