Exemplo n.º 1
0
 def __showWarningMessage(self, actionMessage):
     formatter = getMessageFormatter(actionMessage)
     formatted = formatter.getFormattedMessage()
     fillColor = formatter.getFillColor()
     self.__sharedHistory.addMessage(formatted, fillColor=fillColor)
     self.__flashCall(BTMS_COMMANDS.ShowActionFailureMessage(),
                      [formatted, fillColor])
Exemplo n.º 2
0
 def __showWarningMessage(self, actionMessage):
     formatter = getMessageFormatter(actionMessage)
     formatted = formatter.getFormattedMessage()
     fillColor = formatter.getFillColor()
     view = self.__view()
     if view is not None:
         view.addMessage(formatted, fillColor=fillColor)
     return
Exemplo n.º 3
0
 def __showWarningMessage(self, actionMessage):
     formatter = getMessageFormatter(actionMessage)
     formatted = formatter.getFormattedMessage()
     fillColor = formatter.getFillColor()
     view = self.__view()
     if view is not None:
         view.addMessage(formatted, fillColor=fillColor)
     return
Exemplo n.º 4
0
 def __showWarningMessage(self, actionMessage):
     formatter = getMessageFormatter(actionMessage)
     formatted = formatter.getFormattedMessage()
     fillColor = formatter.getFillColor()
     self.__sharedHistory.addMessage(formatted, fillColor=fillColor)
     self.__flashCall(BTMS_COMMANDS.ShowActionFailureMessage(), [formatted, fillColor])