private boolean isOurContentPaneShowing() {
   if (myToolWindowManager.isToolWindowRegistered(TOOLWINDOW_ID) && myToolWindow.isVisible()) {
     Content content = myToolWindow.getContentManager().getSelectedContent();
     return content != null && content.getTabName().equals(VcsLogContentProvider.TAB_NAME);
   }
   return false;
 }
  @Override
  public void putInfo(@NotNull Map<String, String> info) {
    info.put("toolWindowTitle", myToolWindow.getTitle());

    final Content selection = myToolWindow.getContentManager().getSelectedContent();
    if (selection != null) {
      info.put("toolWindowTab", selection.getTabName());
    }
  }