ModuleNode (Module module, ModuleGrouper moduleGrouper) { ModuleConfigurable configurable = new ModuleConfigurable(myContext.myModulesConfigurator, module, TREE_UPDATER, moduleGrouper); List<String> groupPath = moduleGrouper.getModuleAsGroupPath(module); ModuleNode node = new ModuleNode(configurable, groupPath != null ? new ModuleGroup(groupPath) : null); myFacetEditorFacade.addFacetsNodes(module, node); addNodesFromExtensions(module, node); return node; }