if (!adaptable.isRoot())
builder.append(adaptable.getID() + ".");
builder.append("add(" + getMethodName + "());\n");
}
} else {
LayoutAdapter layoutAdapter = ((CompositeAdapter) adaptable)
.getLayoutAdapter();
if (layoutAdapter != null) {
ILayoutParser parser = (ILayoutParser) layoutAdapter
.getAdapter(ILayoutParser.class);
if (parser != null)
builder.append(parser.createCode(imports));
}
}