&& child instanceof LayoutDataInfo
&& isActiveOnContainer(parent.getParent())) {
WidgetInfo widget = (WidgetInfo) parent;
LayoutDataInfo existingLayoutData = getLayoutData(widget);
if (existingLayoutData != null) {
widget.removeChild(existingLayoutData);
}
}
}
});
addBroadcastListener(new ObjectInfoChildAddAfter() {