void (@NotNull AnActionEvent e) { Project project = e.getData(CommonDataKeys.PROJECT); Component component = e.getData(PlatformCoreDataKeys.CONTEXT_COMPONENT); EdtExecutorService.getScheduledExecutorInstance().schedule(() -> runProgresses(project, component), 2, TimeUnit.SECONDS); }