Search in sources :

Example 1 with ReportSectionPmo

use of org.linkki.samples.gettingstarted.pmo.ReportSectionPmo in project linkki by linkki-framework.

the class GettingStartedUI method init.

@Override
protected void init(VaadinRequest request) {
    Page.getCurrent().setTitle("Linkki :: Getting Started");
    DefaultPmoBasedSectionFactory sectionFactory = new DefaultPmoBasedSectionFactory();
    AbstractSection section = sectionFactory.createSection(new ReportSectionPmo(new Report()), new BindingContext("report-context", PropertyBehaviorProvider.NO_BEHAVIOR_PROVIDER, Handler.NOP_HANDLER));
    setContent(section);
}
Also used : ReportSectionPmo(org.linkki.samples.gettingstarted.pmo.ReportSectionPmo) DefaultPmoBasedSectionFactory(org.linkki.core.ui.section.DefaultPmoBasedSectionFactory) Report(org.linkki.samples.gettingstarted.model.Report) 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 Report (org.linkki.samples.gettingstarted.model.Report)1 ReportSectionPmo (org.linkki.samples.gettingstarted.pmo.ReportSectionPmo)1