assertHierarchy(
"{this: com.extjs.gxt.ui.client.widget.LayoutContainer} {this} {/add(new Button())/}",
" {implicit-layout: default} {implicit-layout} {}",
" {new: com.extjs.gxt.ui.client.widget.button.Button} {empty} {/add(new Button())/}");
// set RowLayout
LayoutInfo layout = createJavaInfo("com.extjs.gxt.ui.client.widget.layout.RowLayout");
assertSame(ComponentOrderFirst.INSTANCE, layout.getDescription().getOrder());
container.setLayout(layout);
assertEditor(
"public class Test extends LayoutContainer {",
" public Test() {",
" setLayout(new RowLayout(Orientation.HORIZONTAL));",