elements.removeChildren();
DataModelEnumeration e = directory.getEnumeration();
while (e.hasMore()) {
DataModel element = (DataModel) e.next();
XString name = new XString(element.getInstanceName());
if (name.match(nameFilter.getText())) {
element.setParentDataModelContainer(null);
elements.append(element);
if (highlightedId != null && element.getInstanceName().equals(highlightedId)) {
elements.setHighlightedItem(elements.getSize() - 1);