private void reloadUserTemplates(ConfigurationManager configurationManager) {
    myProjectTemplatesNode.removeAllChildren();
    myUserTemplatesNode.removeAllChildren();
    for (Configuration config : configurationManager.getIdeConfigurations()) {
      myUserTemplatesNode.add(new DefaultMutableTreeNode(config));
    }
    List<Configuration> projectConfigurations = configurationManager.getProjectConfigurations();
    if (!projectConfigurations.isEmpty()) {
      myUserTemplatesNode.insert(myProjectTemplatesNode, 0);
      for (Configuration config : projectConfigurations) {
        myProjectTemplatesNode.add(new DefaultMutableTreeNode(config));
      }
    }
    patternTreeModel.reload(myUserTemplatesNode);
  }
private void reloadUserTemplates(ConfigurationManager configurationManager)