}
@Override
public Collection<PolicyInfo> getPolicyInfos() {
return Arrays.asList(
new PolicyInfo(CategoryType.OBJECT_INSPECTION_POLICY_CATEGORY.getKey(),
ObjectPermissionPolicy.class),
new PolicyInfo(CategoryType.COMPOSITION_POLICY_CATEGORY.getKey(),
LeafCannotAddChildDetectionPolicy.class,
CannotDragOrDropMySandbox.class,
SameComponentsCannotBeLinkedPolicy.class),
new PolicyInfo(CategoryType.ACCEPT_DELEGATE_MODEL_CATEGORY.getKey(),
LeafCannotAddChildDetectionPolicy.class,
SameComponentsCannotBeLinkedPolicy.class),
new PolicyInfo(CategoryType.COMPONENT_NAMING_POLICY_CATEGORY.getKey(),
ReservedWordsNamingPolicy.class),
new PolicyInfo(CategoryType.ALLOW_COMPONENT_RENAME_POLICY_CATEGORY.getKey(),
ChangeOwnershipPolicy.class,
CheckBuiltinComponentPolicy.class,
ReservedWordsNamingPolicy.class,
ObjectPermissionPolicy.class),
new PolicyInfo(CategoryType.FILTER_VIEW_ROLE.getKey(),
DropboxFilterViewPolicy.class,
AllCannotBeInspectedPolicy.class),
new PolicyInfo(CategoryType.CAN_DELETE_COMPONENT_POLICY_CATEGORY.getKey(),
CanDeleteComponentPolicy.class),
new PolicyInfo(CategoryType.CAN_REMOVE_MANIFESTATION_CATEGORY.getKey(),
CanRemoveComponentPolicy.class),
new PolicyInfo(CategoryType.CAN_DUPLICATE_OBJECT.getKey(),
CantDuplicateDropBoxesPolicy.class,
CheckComponentOwnerIsUserPolicy.class),
new PolicyInfo(CategoryType.COMPOSITION_POLICY_CATEGORY.getKey(),
CheckComponentOwnerIsUserPolicy.class),
new PolicyInfo(CategoryType.CAN_OBJECT_BE_CONTAINED_CATEGORY.getKey(),
CannotDragOrDropMySandbox.class),
new PolicyInfo(CategoryType.SHOW_HIDE_CTRL_MANIFESTATION.getKey(),
DisciplineUsersViewControlPolicy.class));
}