setGenericSectionEnabled(false);
criteriaCombo.setSelection(StructuredSelection.EMPTY);
} else if (supportsTargetedSelection &&
selection instanceof TargetedSelectionBuilder) {
criteriaCombo.setSelection(new StructuredSelection(TargetedSelectionBuilder.class));
TargetedSelectionBuilder targetted = (TargetedSelectionBuilder) selection;
targets.clear();
List categoryReferences = targetted.getModifiableCategoryReferences();
List deviceReferences = targetted.getModifiableDeviceReferences();
targets.addAll(categoryReferences);
targets.addAll(deviceReferences);
targetViewer.refresh();
setTargetSectionEnabled(true);
setGenericSectionEnabled(false);