use of org.linkki.samples.binding.pmo.ContactTablePmo in project linkki by linkki-framework.
the class ContactsTableComponent method createContent.
private void createContent(Consumer<Contact> editAction) {
DefaultPmoBasedSectionFactory sectionFactory = new DefaultPmoBasedSectionFactory();
tableSection = sectionFactory.createTableSection(new ContactTablePmo(contactStorage, editAction, contactStorage::remove), context);
noContentLabel = new Label("No contacts available");
}
Aggregations