values.addAll(ldap.getSelectedAttributeNames());
// TODO: Class names, filter. One problem is that we store only
// the OIDs for class names(?), so we need some form of translator.
break;
case JSON:
JsonStructure json = (JsonStructure) struct;
values.add(json.getFileName());
break;
case Text:
// Nothing to collect. Segment and Field names are searched for through
// the TextDocuments directly.
break;