'Set a message to be displayed by a scheme view for this node.'

def set_state_message(self, message):

    if ((message.message_id in self.__state_messages) and (not message.contents)):
        del self.__state_messages[message.message_id]
    self.__state_messages[message.message_id] = message
    self.state_message_changed.emit(message)
