AnActionEvent (@NotNull AnAction action, @Nullable InputEvent inputEvent) { Presentation presentation = myPresentationFactory != null ? myPresentationFactory.getPresentation(action) : action.getTemplatePresentation().clone(); return AnActionEvent.createFromInputEvent(inputEvent, myActionPlace, presentation, myContext.get()); }