// Create a filter so that only device elements are included in
// the selection.
ODOMSelectionFilter deviceFilter = new ODOMSelectionFilter(null,
new String[]{DeviceRepositorySchemaConstants.DEVICE_ELEMENT_NAME},
new ODOMSelectionFilterConfiguration(true, true));
// register an ODOMSelection listener with the ODOMSelectionManager
// so that we can update the list builder whenever a device is selected
selectionManager.addSelectionListener(
new ODOMElementSelectionListener() {