void (@NotNull AnActionEvent e) { Configuration configuration = myConfigurationProducer.get(); if (ConfigurationManager.getInstance(project).showSaveTemplateAsDialog(configuration)) { reloadUserTemplates(configurationManager); DefaultMutableTreeNode node = TreeUtil.findNodeWithObject(myUserTemplatesNode, configuration); if (node != null) { TreeUtil.selectNode(patternTree, node); } } }