@Test public void testExpandedChangeVetoed() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getExpandedChangeVetoed()); adapter.expandedChangeVetoed(null, null); assertFalse(invoked[0]); adapter.setExpandedChangeVetoed(callable); adapter.expandedChangeVetoed(null, null); assertTrue(invoked[0]); }
public void expandedChangeVetoed(org.apache.pivot.wtk.Rollup arg0, org.apache.pivot.util.Vote arg1) { if (expandedChangeVetoed != null) { expandedChangeVetoed.call(arg0, arg1); } }
RollupStateAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.RollupStateListener { public void expandedChangeVetoed(org.apache.pivot.wtk.Rollup arg0, org.apache.pivot.util.Vote arg1) { if (expandedChangeVetoed != null) { expandedChangeVetoed.call(arg0, arg1); } } }
RollupStateAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.RollupStateListener { public void expandedChangeVetoed(org.apache.pivot.wtk.Rollup arg0, org.apache.pivot.util.Vote arg1) { if (expandedChangeVetoed != null) { expandedChangeVetoed.call(arg0, arg1); } }  }
RollupStateAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.RollupStateListener { public void expandedChangeVetoed(org.apache.pivot.wtk.Rollup arg0, org.apache.pivot.util.Vote arg1) { if (expandedChangeVetoed != null) { expandedChangeVetoed.call(arg0, arg1); } }  CallableWithArgs<Vote> getPreviewExpandedChange(); CallableWithArgs<Void> getExpandedChangeVetoed(); CallableWithArgs<Void> getExpandedChanged(); void setPreviewExpandedChange(CallableWithArgs<Vote> previewExpandedChange); void setExpandedChangeVetoed(CallableWithArgs<Void> expandedChangeVetoed); void setExpandedChanged(CallableWithArgs<Void> expandedChanged); org.apache.pivot.util.Vote previewExpandedChange(org.apache.pivot.wtk.Rollup arg0); void expandedChangeVetoed(org.apache.pivot.wtk.Rollup arg0, org.apache.pivot.util.Vote arg1); void expandedChanged(org.apache.pivot.wtk.Rollup arg0); }
RollupStateAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.RollupStateListener { public void expandedChangeVetoed(org.apache.pivot.wtk.Rollup arg0, org.apache.pivot.util.Vote arg1) { if (expandedChangeVetoed != null) { expandedChangeVetoed.call(arg0, arg1); } }  CallableWithArgs<Vote> getPreviewExpandedChange(); CallableWithArgs<Void> getExpandedChangeVetoed(); CallableWithArgs<Void> getExpandedChanged(); void setPreviewExpandedChange(CallableWithArgs<Vote> previewExpandedChange); void setExpandedChangeVetoed(CallableWithArgs<Void> expandedChangeVetoed); void setExpandedChanged(CallableWithArgs<Void> expandedChanged); org.apache.pivot.util.Vote previewExpandedChange(org.apache.pivot.wtk.Rollup arg0); void expandedChangeVetoed(org.apache.pivot.wtk.Rollup arg0, org.apache.pivot.util.Vote arg1); void expandedChanged(org.apache.pivot.wtk.Rollup arg0);  }