protected void addMessage(final String text) {
    if (myDisposed) return;
    if (text == null) return;
    final LogFilterModel.MyProcessingResult processingResult = myModel.processLine(text);
    if (processingResult.isApplicable()) {
      final Key key = processingResult.getKey();
      if (key != null) {
        final String messagePrefix = processingResult.getMessagePrefix();
        if (messagePrefix != null) {
          String formattedPrefix = myFormatter.formatPrefix(messagePrefix);
          myProcessHandler.notifyTextAvailable(formattedPrefix, key);
        }
        String formattedMessage = myFormatter.formatMessage(text);
        myProcessHandler.notifyTextAvailable(formattedMessage + "\n", key);
      }
    }
    myOriginalDocument = getOriginalDocument();
    if (myOriginalDocument != null) {
      myOriginalDocument.append(text).append("\n");
    }
  }
protected void addMessage(final String text)