LayoutInfo layout = m_container.getLayout();
if (m_currentLayout != layout) {
m_currentLayout = layout;
LayoutEditPolicy policy = LayoutPolicyUtils.createLayoutEditPolicy(this, layout);
if (policy == null) {
policy = new UnknownLayoutEditPolicy();
}
installEditPolicy(EditPolicy.LAYOUT_ROLE, policy);
}
}
}