* <code>AccordionLayout</code> handles only <code>Panel</code> and only with set "title"
* property. We generate code with "title" for <code>Panel</code> itself, but for example not for
* <code>TreePanel</code>. So, here we ensure title required by <code>AccordionLayout</code>.
*/
private void ensureTitleForChildPanels() {
addBroadcastListener(new JavaEventListener() {
@Override
public void addAfter(JavaInfo parent, JavaInfo child) throws Exception {
if (isActiveOnContainer(parent)) {
Property titleProperty = child.getPropertyByTitle("title");
if (titleProperty != null && !titleProperty.isModified()) {