MyNode (final ProxyGroup group) { final ConfigureProxiesOptionsPanel panel = new ConfigureProxiesOptionsPanel(myValidator, myTestConnectionPerformer); final GroupConfigurable gc = new GroupConfigurable(group, myTreeUpdaterValidator, panel); if (group.isDefault()) { myDefaultGroupPanel = panel; } // first added node must be global /default group. since url-fillers for other groups forwards their updates to global group assert myDefaultGroupPanel != null; panel.setPatternsListener((group.isDefault()) ? PatternsListener.Empty.instance : new RepositoryUrlFilter(panel, this, myDefaultGroupPanel)); return new MyNode(gc, group.isDefault()); }