@Override
  public void openCommittedChangesTab(@NotNull CommittedChangesProvider provider,
                                      @NotNull RepositoryLocation location,
                                      @NotNull ChangeBrowserSettings settings,
                                      int maxCount,
                                      @Nullable String title) {
    DefaultActionGroup extraActions = new DefaultActionGroup();
    //noinspection unchecked
    RepositoryLocationCommittedChangesPanel<ChangeBrowserSettings> panel =
      new RepositoryLocationCommittedChangesPanel<>(myProject, provider, location, extraActions);
    panel.setMaxCount(maxCount);
    panel.setSettings(settings);
    panel.refreshChanges();
    final ContentFactory factory = ContentFactory.getInstance();
    if (title == null) {
      title = VcsBundle.message("browse.changes.content.title", location.toPresentableString());
    }
    final Content content = factory.createContent(panel, title, false);
    final ChangesViewContentI contentManager = ChangesViewContentManager.getInstance(myProject);
    contentManager.addContent(content);
    contentManager.setSelectedContent(content);

    extraActions.add(new CloseTabToolbarAction() {
      @Override
      public void actionPerformed(@NotNull final AnActionEvent e) {
        contentManager.removeContent(content);
      }
    });

    ToolWindow window = ToolWindowManager.getInstance(myProject).getToolWindow(ChangesViewContentManager.TOOLWINDOW_ID);
    if (!window.isVisible()) {
      window.activate(null);
    }
  }
@Override
  public void openCommittedChangesTab(@NotNull CommittedChangesProvider provider,
                                      @NotNull RepositoryLocation location,
                                      @NotNull ChangeBrowserSettings settings,
                                      int maxCount,
                                      @Nullable String title)