/**
  * Get the name of the selected policy, if any, from this section.
  *
  * @return the selected policy name or null if no policy is selected.
  */
 public String getSelectedPolicy() {
   Element element = categoriesComposite.getSelectedPolicyElement();
   return element == null
       ? null
       : element.getAttributeValue(DeviceRepositorySchemaConstants.POLICY_NAME_ATTRIBUTE);
 }
 /**
  * Get the name of the selected policy, if any, from this section.
  *
  * @return the selected policy name or null if no policy is selected.
  */
 public Element getSelectedPolicyElement() {
   return categoriesComposite.getSelectedPolicyElement();
 }