@Test public void test_dispatchesEventToHandler() { final SelectionUpdatedHandler handler = mock(SelectionUpdatedHandler.class); event.dispatch(handler); verify(handler).onSelectionUpdated(event); }
@Override protected void dispatch(SelectionUpdatedHandler handler) { handler.onSelectionUpdated(this); }
SelectionUpdatedEvent extends Event<SelectionUpdatedHandler> { @Override protected void dispatch(SelectionUpdatedHandler handler) { handler.onSelectionUpdated(this); } }
SelectionUpdatedEvent extends Event<SelectionUpdatedHandler> { @Override protected void dispatch(SelectionUpdatedHandler handler) { handler.onSelectionUpdated(this); } SelectionUpdatedEvent(Object source); }
SelectionUpdatedEvent extends Event<SelectionUpdatedHandler> { @Override protected void dispatch(SelectionUpdatedHandler handler) { handler.onSelectionUpdated(this); } SelectionUpdatedEvent(Object source); static Type<SelectionUpdatedHandler> getType(); @Override Type<SelectionUpdatedHandler> getAssociatedType(); @Override boolean equals(Object obj); @Override int hashCode(); }
SelectionUpdatedEvent extends Event<SelectionUpdatedHandler> { @Override protected void dispatch(SelectionUpdatedHandler handler) { handler.onSelectionUpdated(this); } SelectionUpdatedEvent(Object source); static Type<SelectionUpdatedHandler> getType(); @Override Type<SelectionUpdatedHandler> getAssociatedType(); @Override boolean equals(Object obj); @Override int hashCode();  }