private void addGroup(final ProxyGroup template) {
    final ProxyGroup group;
    if (template == null) {
      group = new ProxyGroup(message("value.new.server.group.name"), "", new HashMap<>());
    } else {
      group = new ProxyGroup(message("value.new.server.group.name"), template.getPatterns(), template.getProperties());
    }

    addNode(createNodeForObject(group), myRoot);
    selectNodeInTree(group);
  }
private void addGroup(final ProxyGroup template)