@Override
    public void contentRemoveQuery(@NotNull ContentManagerEvent event) {
      if (event.getContent() == myContent &&
          !myErrorsView.isProcessStopped() &&
          !MessageDialogBuilder.yesNo(XmlBundle.message("xml.validate.validation.is.running.terminate.confirmation.title"),
                                      XmlBundle.message("xml.validate.validation.is.running.terminate.confirmation.text"))
            .ask(myProject)) {
        event.consume();
      }
    }
@Override
    public void contentRemoveQuery(@NotNull ContentManagerEvent event)