//
////////////////////////////////////////////////////////////////////////////
public ImplicitLayoutCreationSupport(ContainerInfo container) {
m_container = container;
// add listeners
m_container.addBroadcastListener(new ObjectInfoChildAddBefore() {
public void invoke(ObjectInfo parent, ObjectInfo child, ObjectInfo[] nextChild)
throws Exception {
if (isAddNewLayout(parent, child) && parent.getChildren().contains(m_javaInfo)) {
if (nextChild[0] == m_javaInfo) {
nextChild[0] = GenericsUtils.getNextOrNull(parent.getChildren(), m_javaInfo);