Search in sources :

Example 1 with AddressSectionPmo

use of org.linkki.samples.customlayout.pmo.AddressSectionPmo in project linkki by linkki-framework.

the class CustomLayoutUI method init.

@Override
protected void init(VaadinRequest request) {
    Page.getCurrent().setTitle("Linkki :: Custom Layout Sample");
    BindingContext bindingContext = new BindingContext();
    AbstractSection section = new DefaultPmoBasedSectionFactory().createSection(new AddressSectionPmo(), bindingContext);
    setContent(section);
}
Also used : AddressSectionPmo(org.linkki.samples.customlayout.pmo.AddressSectionPmo) DefaultPmoBasedSectionFactory(org.linkki.core.ui.section.DefaultPmoBasedSectionFactory) AbstractSection(org.linkki.core.ui.section.AbstractSection) BindingContext(org.linkki.core.binding.BindingContext)

Aggregations

BindingContext (org.linkki.core.binding.BindingContext)1 AbstractSection (org.linkki.core.ui.section.AbstractSection)1 DefaultPmoBasedSectionFactory (org.linkki.core.ui.section.DefaultPmoBasedSectionFactory)1 AddressSectionPmo (org.linkki.samples.customlayout.pmo.AddressSectionPmo)1