DefaultActionGroup (@NotNull JComponent button, @NotNull DataContext context) { final DefaultActionGroup group = new DefaultActionGroup(); for (FileTypeInfo fileTypeInfo : myFileTypeInfos) { group.add(new FileTypeInfoAction(fileTypeInfo)); } return group; }