RunAnythingItem (@NotNull DataContext dataContext, @NotNull AnAction value) { if (value instanceof ReopenProjectAction) { return new RecentProjectElement(((ReopenProjectAction)value), getCommand(value), value.getTemplatePresentation().getIcon()); } return super.getMainListItem(dataContext, value); }