DefaultActionGroup (@NotNull JComponent button, @NotNull DataContext context) { DefaultActionGroup group = new DefaultActionGroup(); group.add(new FilterImagesAction(new ThemeFilter() { @Override public String getDisplayName() { return ImagesBundle.message("action.all.text"); } @Override public boolean accepts(VirtualFile file) { return true; } @Override public boolean isApplicableToProject(Project project) { return true; } @Override public void setFilter(ThumbnailView view) { view.setFilter(this); } })); for (ThemeFilter filter : ThemeFilter.EP_NAME.getExtensionList()) { group.add(new FilterImagesAction(filter)); } return group; }