void (@NotNull AutoSvnUpdater updater, @ActionText @NotNull String title) { JComponent frame = WindowManager.getInstance().getIdeFrame(updater.myProject).getComponent(); updater.getTemplatePresentation().setText(title); updater.actionPerformed( AnActionEvent.createFromAnAction(updater, null, ActionPlaces.UNKNOWN, DataManager.getInstance().getDataContext(frame)) ); }