コード例 #1
0
 @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;
 }
コード例 #2
0
 @NotNull
 @Override
 protected VcsLogUserFilter createFilter(@NotNull Collection<String> values) {
   return new VcsLogUserFilterImpl(values, myLogData.getCurrentUser(), myLogData.getAllUsers());
 }