private void loadRegisters() {
    IExtensionRegistry reg = Platform.getExtensionRegistry();
    IConfigurationElement[] extensions = reg.getConfigurationElementsFor(EXTENSION_POINT);

    DomainUIRegistryExtension registry;
    for (IConfigurationElement extension : extensions) {
      registry = new DomainUIRegistryExtension(extension);
      _registers.put(registry.getElement(EDomainUIElements.domain), registry);
    }

    loadRegistersNewDomainDialog(reg);
    loadRegistersModifyDomainDialog(reg);
  }
  private DomainUI initializeDomainUI(String domain) {

    try {
      DomainUI domainUI = new DomainUI();
      DomainUIRegistryExtension domainUIRegistry = getRegistry(domain);

      domainUI.setDomain(domain);

      String plugin = domainUIRegistry.getConfiguration().getContributor().getName();
      String pathIcon = domainUIRegistry.getElement(EDomainUIElements.icon);

      domainUI.setIcon(plugin, pathIcon);
      domainUI.setRegistry(domainUIRegistry);

      _domainUIs.put(domain, domainUI);

      return domainUI;
    } catch (Exception e) {
      return null;
    }
  }