ServerDescriptor desc)
{
LinkedHashSet<CategorizedComboBoxElement> newElements =
new LinkedHashSet<CategorizedComboBoxElement>();
SortedSet<String> backendIDs =
new TreeSet<String>(new LowerCaseComparator());
HashMap<String, SortedSet<String>> hmBaseDNs =
new HashMap<String, SortedSet<String>>();
for (BackendDescriptor backend : desc.getBackends())
{
if (displayBackend(backend))
{
String backendID = backend.getBackendID();
backendIDs.add(backendID);
SortedSet<String> baseDNs =
new TreeSet<String>(new LowerCaseComparator());
for (BaseDNDescriptor baseDN : backend.getBaseDns())
{
try
{
baseDNs.add(Utilities.unescapeUtf8(baseDN.getDn().toString()));