@Test public void testDialogClosed() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getDialogClosed()); adapter.dialogClosed(null, false); assertFalse(invoked[0]); adapter.setDialogClosed(callable); adapter.dialogClosed(null, false); assertTrue(invoked[0]); }
public void dialogClosed(org.apache.pivot.wtk.Dialog arg0, boolean arg1) { if (dialogClosed != null) { dialogClosed.call(arg0, arg1); } }
DialogCloseAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.DialogCloseListener { public void dialogClosed(org.apache.pivot.wtk.Dialog arg0, boolean arg1) { if (dialogClosed != null) { dialogClosed.call(arg0, arg1); } } }
DialogCloseAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.DialogCloseListener { public void dialogClosed(org.apache.pivot.wtk.Dialog arg0, boolean arg1) { if (dialogClosed != null) { dialogClosed.call(arg0, arg1); } }  }
DialogCloseAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.DialogCloseListener { public void dialogClosed(org.apache.pivot.wtk.Dialog arg0, boolean arg1) { if (dialogClosed != null) { dialogClosed.call(arg0, arg1); } }  CallableWithArgs<Void> getDialogClosed(); void setDialogClosed(CallableWithArgs<Void> dialogClosed); void dialogClosed(org.apache.pivot.wtk.Dialog arg0, boolean arg1); }
DialogCloseAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.DialogCloseListener { public void dialogClosed(org.apache.pivot.wtk.Dialog arg0, boolean arg1) { if (dialogClosed != null) { dialogClosed.call(arg0, arg1); } }  CallableWithArgs<Void> getDialogClosed(); void setDialogClosed(CallableWithArgs<Void> dialogClosed); void dialogClosed(org.apache.pivot.wtk.Dialog arg0, boolean arg1);  }