@Test public void testSuggestionPopupCloseVetoed() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getSuggestionPopupCloseVetoed()); adapter.suggestionPopupCloseVetoed(null, null); assertFalse(invoked[0]); adapter.setSuggestionPopupCloseVetoed(callable); adapter.suggestionPopupCloseVetoed(null, null); assertTrue(invoked[0]); }
public void suggestionPopupCloseVetoed(org.apache.pivot.wtk.SuggestionPopup arg0, org.apache.pivot.util.Vote arg1) { if (suggestionPopupCloseVetoed != null) { suggestionPopupCloseVetoed.call(arg0, arg1); } }
SuggestionPopupStateAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.SuggestionPopupStateListener { public void suggestionPopupCloseVetoed(org.apache.pivot.wtk.SuggestionPopup arg0, org.apache.pivot.util.Vote arg1) { if (suggestionPopupCloseVetoed != null) { suggestionPopupCloseVetoed.call(arg0, arg1); } } }
SuggestionPopupStateAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.SuggestionPopupStateListener { public void suggestionPopupCloseVetoed(org.apache.pivot.wtk.SuggestionPopup arg0, org.apache.pivot.util.Vote arg1) { if (suggestionPopupCloseVetoed != null) { suggestionPopupCloseVetoed.call(arg0, arg1); } }  }
SuggestionPopupStateAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.SuggestionPopupStateListener { public void suggestionPopupCloseVetoed(org.apache.pivot.wtk.SuggestionPopup arg0, org.apache.pivot.util.Vote arg1) { if (suggestionPopupCloseVetoed != null) { suggestionPopupCloseVetoed.call(arg0, arg1); } }  CallableWithArgs<Vote> getPreviewSuggestionPopupClose(); CallableWithArgs<Void> getSuggestionPopupCloseVetoed(); CallableWithArgs<Void> getSuggestionPopupClosed(); void setPreviewSuggestionPopupClose(CallableWithArgs<Vote> previewSuggestionPopupClose); void setSuggestionPopupCloseVetoed(CallableWithArgs<Void> suggestionPopupCloseVetoed); void setSuggestionPopupClosed(CallableWithArgs<Void> suggestionPopupClosed); org.apache.pivot.util.Vote previewSuggestionPopupClose(org.apache.pivot.wtk.SuggestionPopup arg0, boolean arg1); void suggestionPopupCloseVetoed(org.apache.pivot.wtk.SuggestionPopup arg0, org.apache.pivot.util.Vote arg1); void suggestionPopupClosed(org.apache.pivot.wtk.SuggestionPopup arg0); }
SuggestionPopupStateAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.SuggestionPopupStateListener { public void suggestionPopupCloseVetoed(org.apache.pivot.wtk.SuggestionPopup arg0, org.apache.pivot.util.Vote arg1) { if (suggestionPopupCloseVetoed != null) { suggestionPopupCloseVetoed.call(arg0, arg1); } }  CallableWithArgs<Vote> getPreviewSuggestionPopupClose(); CallableWithArgs<Void> getSuggestionPopupCloseVetoed(); CallableWithArgs<Void> getSuggestionPopupClosed(); void setPreviewSuggestionPopupClose(CallableWithArgs<Vote> previewSuggestionPopupClose); void setSuggestionPopupCloseVetoed(CallableWithArgs<Void> suggestionPopupCloseVetoed); void setSuggestionPopupClosed(CallableWithArgs<Void> suggestionPopupClosed); org.apache.pivot.util.Vote previewSuggestionPopupClose(org.apache.pivot.wtk.SuggestionPopup arg0, boolean arg1); void suggestionPopupCloseVetoed(org.apache.pivot.wtk.SuggestionPopup arg0, org.apache.pivot.util.Vote arg1); void suggestionPopupClosed(org.apache.pivot.wtk.SuggestionPopup arg0);  }