public void test_addCanvas() throws Exception {
ToolStripInfo toolStrip = createDefaultModule();
// create new Slider
AbstractComponentInfo newCanvas = createJavaInfo("com.smartgwt.client.widgets.Slider");
{
FlowContainer flowContainer = new FlowContainerFactory(toolStrip, false).get().get(2);
assertTrue(flowContainer.validateComponent(newCanvas));
flowContainer.command_CREATE(newCanvas, toolStrip.getChildrenReal().get(1));
}
assertEditor(
"public class Test implements EntryPoint {",