@Test public void testNewOkCancelDialog_PropertyBehaviorProvider() { PmoBasedDialogFactory dialogFactoryWithoutBehavior = new PmoBasedDialogFactory( ValidationService.NOP_VALIDATION_SERVICE, PropertyBehaviorProvider.NO_BEHAVIOR_PROVIDER); OkCancelDialog dialog = dialogFactoryWithoutBehavior.newOkCancelDialog("test", Handler.NOP_HANDLER, Handler.NOP_HANDLER, ButtonOption.OK_CANCEL, new TestPmo(), new TestPmo()); getAllFields(dialog).forEach(c -> { assertFalse(c.isReadOnly()); }); PmoBasedDialogFactory dialogFactoryWithBehavior = new PmoBasedDialogFactory( ValidationService.NOP_VALIDATION_SERVICE, PropertyBehaviorProvider.with(PropertyBehavior.readOnly())); OkCancelDialog readOnlyDialog = dialogFactoryWithBehavior.newOkCancelDialog("test", Handler.NOP_HANDLER, Handler.NOP_HANDLER, ButtonOption.OK_CANCEL, new TestPmo(), new TestPmo()); getAllFields(readOnlyDialog).forEach(c -> { assertTrue(c.isReadOnly()); }); }
@Deprecated public OkCancelDialog newOkCancelDialog(String title, Object pmo, Handler okHandler) { return newOkCancelDialog(title, okHandler, pmo); }
PmoBasedDialogFactory { @Deprecated public OkCancelDialog newOkCancelDialog(String title, Object pmo, Handler okHandler) { return newOkCancelDialog(title, okHandler, pmo); } }
PmoBasedDialogFactory { @Deprecated public OkCancelDialog newOkCancelDialog(String title, Object pmo, Handler okHandler) { return newOkCancelDialog(title, okHandler, pmo); } PmoBasedDialogFactory();  PmoBasedDialogFactory(ValidationService validationService);  PmoBasedDialogFactory(PropertyBehavior... propertyBehavior);  PmoBasedDialogFactory(ValidationService validationService,
            PropertyBehaviorProvider propertyBehaviorProvider); }
PmoBasedDialogFactory { @Deprecated public OkCancelDialog newOkCancelDialog(String title, Object pmo, Handler okHandler) { return newOkCancelDialog(title, okHandler, pmo); } PmoBasedDialogFactory();  PmoBasedDialogFactory(ValidationService validationService);  PmoBasedDialogFactory(PropertyBehavior... propertyBehavior);  PmoBasedDialogFactory(ValidationService validationService,
            PropertyBehaviorProvider propertyBehaviorProvider); @Deprecated OkCancelDialog newOkCancelDialog(String title, Object pmo, Handler okHandler); OkCancelDialog newOkDialog(String title, Object... pmos); OkCancelDialog newOkCancelDialog(String title, Handler okHandler, Object... pmos); OkCancelDialog newOkCancelDialog(String title, Handler okHandler, Handler cancelHandler, Object... pmos); OkCancelDialog openOkDialog(String title, Object... pmos); @Deprecated OkCancelDialog openOkCancelDialog(String title, Object pmo, Handler okHandler); OkCancelDialog openOkCancelDialog(String title, Handler okHandler, Object... pmos); OkCancelDialog openOkCancelDialog(String title, Handler okHandler, Handler cancelHandler, Object... pmos); @Deprecated static OkCancelDialog open(OkCancelDialog dialog); }
PmoBasedDialogFactory { @Deprecated public OkCancelDialog newOkCancelDialog(String title, Object pmo, Handler okHandler) { return newOkCancelDialog(title, okHandler, pmo); } PmoBasedDialogFactory();  PmoBasedDialogFactory(ValidationService validationService);  PmoBasedDialogFactory(PropertyBehavior... propertyBehavior);  PmoBasedDialogFactory(ValidationService validationService,
            PropertyBehaviorProvider propertyBehaviorProvider); @Deprecated OkCancelDialog newOkCancelDialog(String title, Object pmo, Handler okHandler); OkCancelDialog newOkDialog(String title, Object... pmos); OkCancelDialog newOkCancelDialog(String title, Handler okHandler, Object... pmos); OkCancelDialog newOkCancelDialog(String title, Handler okHandler, Handler cancelHandler, Object... pmos); OkCancelDialog openOkDialog(String title, Object... pmos); @Deprecated OkCancelDialog openOkCancelDialog(String title, Object pmo, Handler okHandler); OkCancelDialog openOkCancelDialog(String title, Handler okHandler, Object... pmos); OkCancelDialog openOkCancelDialog(String title, Handler okHandler, Handler cancelHandler, Object... pmos); @Deprecated static OkCancelDialog open(OkCancelDialog dialog);  }