private ActionGroup createToolbarActions() {
    final DefaultActionGroup actionGroup = new DefaultActionGroup();
    if (myViewExtension.supportFlattenPackages()) {
      actionGroup.add(new FlattenPackagesAction());
    }

    installAutoScrollToSource(actionGroup);
    installAutoScrollFromSource(actionGroup);

    actionGroup.add(ActionManager.getInstance().getAction("GenerateCoverageReport"));
    actionGroup.add(ActionManager.getInstance().getAction("ImportCoverage"));

    List<AnAction> extraActions = myViewExtension.createExtraToolbarActions();
    extraActions.forEach(actionGroup::add);


    boolean hasFilters = false;
    final DefaultActionGroup filtersActionGroup = new DefaultActionGroup();
    if (ProjectLevelVcsManager.getInstance(myProject).hasActiveVcss() && getModifiedFilesFilter() != null) {
      filtersActionGroup.add(new ShowOnlyModifiedAction(getModifiedActionName()));
      hasFilters = true;
      myHasVCSFilter = true;
    }
    if (myViewExtension.supportFlattenPackages()) {
      filtersActionGroup.add(new HideFullyCoveredAction());
      hasFilters = true;
      myHasFullyCoveredFilter = true;
    }
    if (hasFilters) {
      filtersActionGroup.setPopup(true);
      filtersActionGroup.getTemplatePresentation().setIcon(FILTER_ICON);
      filtersActionGroup.getTemplatePresentation().setText(CoverageBundle.messagePointer("coverage.view.filters.group"));
      actionGroup.add(filtersActionGroup);
    }

    return actionGroup;
  }
private ActionGroup createToolbarActions()