private void openMessageView() {
    CommandProcessor commandProcessor = CommandProcessor.getInstance();
    commandProcessor.executeCommand(
      myProject, () -> {
        MessageView messageView = MessageView.getInstance(myProject);
        final Content content = ContentFactory.getInstance().createContent(myErrorsView.getComponent(), myContentName, true);
        content.putUserData(KEY, myErrorsView);
        messageView.getContentManager().addContent(content);
        messageView.getContentManager().setSelectedContent(content);
        messageView.getContentManager().addContentManagerListener(new CloseListener(content, messageView.getContentManager()));
        ContentManagerUtil.cleanupContents(content, myProject, myContentName);
        messageView.getContentManager().addContentManagerListener(new MyContentDisposer(content, messageView));
      },
      XmlBundle.message("xml.validate.open.message.view.command.name"),
      null
    );
  }
private void openMessageView()