@Test public void testDataSourceSet() { TestTablePmo tablePmo = new TestTablePmo(); com.vaadin.v7.ui.Table table = new PmoBasedTableFactory(tablePmo, bindingContext).createTable(); assertThat(getTableContainer(bindingContext), is(table.getContainerDataSource())); }
@SuppressWarnings("deprecation") public com.vaadin.v7.ui.Table createTable() { return (com.vaadin.v7.ui.Table)CONTAINER_COMPONENT_FACTORY.createContainerComponent(containerPmo, bindingContext); }
PmoBasedTableFactory { @SuppressWarnings("deprecation") public com.vaadin.v7.ui.Table createTable() { return (com.vaadin.v7.ui.Table)CONTAINER_COMPONENT_FACTORY.createContainerComponent(containerPmo, bindingContext); } }
PmoBasedTableFactory { @SuppressWarnings("deprecation") public com.vaadin.v7.ui.Table createTable() { return (com.vaadin.v7.ui.Table)CONTAINER_COMPONENT_FACTORY.createContainerComponent(containerPmo, bindingContext); } PmoBasedTableFactory(ContainerPmo<?> containerPmo, BindingContext bindingContext); }
PmoBasedTableFactory { @SuppressWarnings("deprecation") public com.vaadin.v7.ui.Table createTable() { return (com.vaadin.v7.ui.Table)CONTAINER_COMPONENT_FACTORY.createContainerComponent(containerPmo, bindingContext); } PmoBasedTableFactory(ContainerPmo<?> containerPmo, BindingContext bindingContext); @SuppressWarnings("deprecation") com.vaadin.v7.ui.Table createTable(); }
PmoBasedTableFactory { @SuppressWarnings("deprecation") public com.vaadin.v7.ui.Table createTable() { return (com.vaadin.v7.ui.Table)CONTAINER_COMPONENT_FACTORY.createContainerComponent(containerPmo, bindingContext); } PmoBasedTableFactory(ContainerPmo<?> containerPmo, BindingContext bindingContext); @SuppressWarnings("deprecation") com.vaadin.v7.ui.Table createTable();  }