AbstractComponent component = context.getProperty(PolicyContext.PropertyName.TARGET_COMPONENT.getName(), AbstractComponent.class);
if (!checkArguments(context, component))
return trueResult; // pass it over to the next policy in the chain
ViewType viewType = context
.getProperty(PolicyContext.PropertyName.VIEW_TYPE.getName(), ViewType.class);
ViewInfo targetViewInfo = context.getProperty(PolicyContext.PropertyName.TARGET_VIEW_INFO.getName(), ViewInfo.class);
if (viewType == ViewType.OBJECT || viewType == ViewType.CENTER) {
if (DropboxCanvasView.class.isAssignableFrom(targetViewInfo.getViewClass()) ||
targetViewInfo.getViewName().equals("Info"))