}
}
BeanProxy targetedSelection = (BeanProxy) getSelectionProxy();
ListProxy categories = (ListProxy) targetedSelection.getPropertyProxy(PolicyModel.CATEGORY_REFERENCES);
Operation setCategories = categories.prepareSetModelObjectOperation(categoryTargets);
ListProxy devices = (ListProxy) targetedSelection.getPropertyProxy(PolicyModel.DEVICE_REFERENCES);
Operation setDevices = devices.prepareSetModelObjectOperation(deviceTargets);
// TODO later Should be merged into a compound operation for future undo implementation
context.executeOperation(setCategories);
context.executeOperation(setDevices);
}