@Test public void testActionMappingsRemoved() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getActionMappingsRemoved()); adapter.actionMappingsRemoved(null, 0, null); assertFalse(invoked[0]); adapter.setActionMappingsRemoved(callable); adapter.actionMappingsRemoved(null, 0, null); assertTrue(invoked[0]); }
public void actionMappingsRemoved(org.apache.pivot.wtk.Window arg0, int arg1, org.apache.pivot.collections.Sequence<Window.ActionMapping> arg2) { if (actionMappingsRemoved != null) { actionMappingsRemoved.call(arg0, arg1, arg2); } }
WindowActionMappingAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.WindowActionMappingListener { public void actionMappingsRemoved(org.apache.pivot.wtk.Window arg0, int arg1, org.apache.pivot.collections.Sequence<Window.ActionMapping> arg2) { if (actionMappingsRemoved != null) { actionMappingsRemoved.call(arg0, arg1, arg2); } } }
WindowActionMappingAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.WindowActionMappingListener { public void actionMappingsRemoved(org.apache.pivot.wtk.Window arg0, int arg1, org.apache.pivot.collections.Sequence<Window.ActionMapping> arg2) { if (actionMappingsRemoved != null) { actionMappingsRemoved.call(arg0, arg1, arg2); } }  }
WindowActionMappingAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.WindowActionMappingListener { public void actionMappingsRemoved(org.apache.pivot.wtk.Window arg0, int arg1, org.apache.pivot.collections.Sequence<Window.ActionMapping> arg2) { if (actionMappingsRemoved != null) { actionMappingsRemoved.call(arg0, arg1, arg2); } }  CallableWithArgs<Void> getActionMappingAdded(); CallableWithArgs<Void> getActionMappingsRemoved(); CallableWithArgs<Void> getKeyStrokeChanged(); CallableWithArgs<Void> getActionChanged(); void setActionMappingAdded(CallableWithArgs<Void> actionMappingAdded); void setActionMappingsRemoved(CallableWithArgs<Void> actionMappingsRemoved); void setKeyStrokeChanged(CallableWithArgs<Void> keyStrokeChanged); void setActionChanged(CallableWithArgs<Void> actionChanged); void actionMappingAdded(org.apache.pivot.wtk.Window arg0); void actionMappingsRemoved(org.apache.pivot.wtk.Window arg0, int arg1, org.apache.pivot.collections.Sequence<Window.ActionMapping> arg2); void keyStrokeChanged(org.apache.pivot.wtk.Window.ActionMapping arg0, org.apache.pivot.wtk.Keyboard.KeyStroke arg1); void actionChanged(org.apache.pivot.wtk.Window.ActionMapping arg0, org.apache.pivot.wtk.Action arg1); }
WindowActionMappingAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.WindowActionMappingListener { public void actionMappingsRemoved(org.apache.pivot.wtk.Window arg0, int arg1, org.apache.pivot.collections.Sequence<Window.ActionMapping> arg2) { if (actionMappingsRemoved != null) { actionMappingsRemoved.call(arg0, arg1, arg2); } }  CallableWithArgs<Void> getActionMappingAdded(); CallableWithArgs<Void> getActionMappingsRemoved(); CallableWithArgs<Void> getKeyStrokeChanged(); CallableWithArgs<Void> getActionChanged(); void setActionMappingAdded(CallableWithArgs<Void> actionMappingAdded); void setActionMappingsRemoved(CallableWithArgs<Void> actionMappingsRemoved); void setKeyStrokeChanged(CallableWithArgs<Void> keyStrokeChanged); void setActionChanged(CallableWithArgs<Void> actionChanged); void actionMappingAdded(org.apache.pivot.wtk.Window arg0); void actionMappingsRemoved(org.apache.pivot.wtk.Window arg0, int arg1, org.apache.pivot.collections.Sequence<Window.ActionMapping> arg2); void keyStrokeChanged(org.apache.pivot.wtk.Window.ActionMapping arg0, org.apache.pivot.wtk.Keyboard.KeyStroke arg1); void actionChanged(org.apache.pivot.wtk.Window.ActionMapping arg0, org.apache.pivot.wtk.Action arg1);  }