use of org.linkki.core.ui.section.PmoBasedSectionFactory in project linkki by linkki-framework.
the class TestUiUtil method createSectionWith.
public static GridLayout createSectionWith(Object pmo, BindingContext bindingContext) {
PmoBasedSectionFactory sectionFactory = new DefaultPmoBasedSectionFactory();
AbstractSection section = sectionFactory.createSection(pmo, bindingContext);
bindingContext.updateUI();
Panel panel = (Panel) section.getComponent(1);
return (GridLayout) panel.getContent();
}
Aggregations