void (DefaultMutableTreeNode root) { DefaultMutableTreeNode node = new DefaultMutableTreeNode(TEMPLATE_ROOT); root.add(node); for (ConfigurationType type : ConfigurationType.CONFIGURATION_TYPE_EP.getExtensionList()) { if (!(type instanceof VirtualConfigurationType)) { Icon icon = type.getIcon(); DefaultMutableTreeNode typeNode = new DefaultMutableTreeNode(new ConfigurationTypeDescriptor(type, icon, isConfigurationAssigned(type))); node.add(typeNode); } } }