Example #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])
Example #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
Example #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
Example #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])