Application Framework

Dialogs

Creating dialogs with PMOs using layout annotation

Dialogs can be created with PMOs annotated with any layout annotation when using PmoBasedDialogFactory.

PMO classes without any layout annotation are not supported when using PmoBasedDialogFactory
Creating a dialog using PmoBasedDialogFactory
            new PmoBasedDialogFactory().openOkDialog("Dialog containing @UIVerticalLayout",
                                                     new VerticalLayoutTestContentPmo());
PMO using @UIVerticalLayout
    @UIVerticalLayout
    private static class VerticalLayoutTestContentPmo {
        @UILabel(position = 0)
        public String getText() {
            return "Some text";
        }
    }