@Override
    public void actionPerformed(@NotNull AnActionEvent e) {
      if (myContentManager != null) {
        Content content = myContentManager.getContent(PanelWithActionsAndCloseButton.this);
        if (content != null) {
          ContentsUtil.closeContentTab(myContentManager, content);
        }
      }
    }
@Override
    public void actionPerformed(@NotNull AnActionEvent e)