void updateToolWindowTabName(@NotNull PsiElement element) {
    if (myToolWindow != null) {
      DocToolWindowManager toolWindowManager = DocToolWindowManager.LANGUAGE_MANAGER.forLanguage(element.getLanguage());
      if (toolWindowManager != null) {
        toolWindowManager.updateToolWindowDocumentationTabName(myToolWindow, element, this);
      }
      else {
        Content content = myToolWindow.getContentManager().getSelectedContent();
        if (content != null) content.setDisplayName(getTitle(element));
      }
    }
  }
void updateToolWindowTabName(@NotNull PsiElement element)