-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extend PresenterWidget.fireEvent() to support generic Event #668
Comments
@timeu thanks for reporting. Can you implement and do a PR for this? |
Sure, Any pointers how to fix it ? |
timeu
added a commit
to timeu/GWTP
that referenced
this issue
Jan 25, 2015
timeu
added a commit
to timeu/GWTP
that referenced
this issue
Jan 27, 2015
timeu
added a commit
to timeu/GWTP
that referenced
this issue
Jan 27, 2015
Chris-V
added a commit
that referenced
this issue
Jan 27, 2015
Added fireEvent(Event<?>) overload to address issue #668
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently the
fireEvent()
function support onlyGwtEvent<?>
as paramter.GwtEvent
extends fromEvent
.According to http://www.gwtproject.org/javadoc/latest/com/google/gwt/event/shared/GwtEvent.html one should use
Event
instead ofGwtEvent
:It would be handy if the
fireEvent
function would be extended to support the more genericEvent
type.The current workaround is:
getEventBus().fireEventFromSource(new MyEvent(),this);
The text was updated successfully, but these errors were encountered: