}
@Override
public void updateMonitoredGUI(AddChildEvent event) {
if (node != null) {
AbstractComponent parentComponent = ((View) node.getUserObject()).getManifestedComponent();
PolicyContext context = new PolicyContext();
context.setProperty(PolicyContext.PropertyName.TARGET_COMPONENT.getName(), parentComponent);
context.setProperty(PolicyContext.PropertyName.ACTION.getName(), 'w');
PolicyManager policyManager = PlatformAccess.getPlatform().getPolicyManager();
if (!policyManager.execute(PolicyInfo.CategoryType.OBJECT_INSPECTION_POLICY_CATEGORY.getKey(), context).getStatus())
return;
AbstractComponent childComponent = event.getChildComponent();
Set<ViewInfo> viewInfos = childComponent.getViewInfos(ViewType.NODE);
if (!node.isProxy()) {
MCTMutableTreeNode childNode = GUIUtil.cloneTreeNode(childComponent, viewInfos.iterator()
.next());
node.addChild(event.getChildIndex(), childNode, objectStaleListener);