@Test public void testActionRemoved() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getActionRemoved()); adapter.actionRemoved(null, null); assertFalse(invoked[0]); adapter.setActionRemoved(callable); adapter.actionRemoved(null, null); assertTrue(invoked[0]); }
public void actionRemoved(java.lang.String arg0, org.apache.pivot.wtk.Action arg1) { if (actionRemoved != null) { actionRemoved.call(arg0, arg1); } }
ActionClassAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ActionClassListener { public void actionRemoved(java.lang.String arg0, org.apache.pivot.wtk.Action arg1) { if (actionRemoved != null) { actionRemoved.call(arg0, arg1); } } }
ActionClassAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ActionClassListener { public void actionRemoved(java.lang.String arg0, org.apache.pivot.wtk.Action arg1) { if (actionRemoved != null) { actionRemoved.call(arg0, arg1); } }  }
ActionClassAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ActionClassListener { public void actionRemoved(java.lang.String arg0, org.apache.pivot.wtk.Action arg1) { if (actionRemoved != null) { actionRemoved.call(arg0, arg1); } }  CallableWithArgs<Void> getActionAdded(); CallableWithArgs<Void> getActionUpdated(); CallableWithArgs<Void> getActionRemoved(); void setActionAdded(CallableWithArgs<Void> actionAdded); void setActionUpdated(CallableWithArgs<Void> actionUpdated); void setActionRemoved(CallableWithArgs<Void> actionRemoved); void actionAdded(java.lang.String arg0); void actionUpdated(java.lang.String arg0, org.apache.pivot.wtk.Action arg1); void actionRemoved(java.lang.String arg0, org.apache.pivot.wtk.Action arg1); }
ActionClassAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ActionClassListener { public void actionRemoved(java.lang.String arg0, org.apache.pivot.wtk.Action arg1) { if (actionRemoved != null) { actionRemoved.call(arg0, arg1); } }  CallableWithArgs<Void> getActionAdded(); CallableWithArgs<Void> getActionUpdated(); CallableWithArgs<Void> getActionRemoved(); void setActionAdded(CallableWithArgs<Void> actionAdded); void setActionUpdated(CallableWithArgs<Void> actionUpdated); void setActionRemoved(CallableWithArgs<Void> actionRemoved); void actionAdded(java.lang.String arg0); void actionUpdated(java.lang.String arg0, org.apache.pivot.wtk.Action arg1); void actionRemoved(java.lang.String arg0, org.apache.pivot.wtk.Action arg1);  }