@Override protected ActionGroup createActionGroup() { DefaultActionGroup group = new DefaultActionGroup(); group.add(createAllAction()); group.add(createSelectMultipleValuesAction()); if (!myLogData.getCurrentUser().isEmpty()) { group.add(createPredefinedValueAction(Collections.singleton(VcsLogUserFilterImpl.ME))); } group.addAll(createRecentItemsActionGroup()); return group; }
@NotNull @Override protected VcsLogUserFilter createFilter(@NotNull Collection<String> values) { return new VcsLogUserFilterImpl(values, myLogData.getCurrentUser(), myLogData.getAllUsers()); }