Skip to content

Commit

Permalink
Added fireEvent(Event<?>) overload to address issue ArcBees#668
Browse files Browse the repository at this point in the history
  • Loading branch information
timeu committed Jan 25, 2015
1 parent 1c8f8a5 commit a308578
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import com.google.gwt.event.shared.HasHandlers;
import com.google.gwt.user.client.ui.IsWidget;
import com.google.gwt.user.client.ui.Widget;
import com.google.web.bindery.event.shared.Event;
import com.google.web.bindery.event.shared.EventBus;
import com.google.web.bindery.event.shared.HandlerRegistration;
import com.gwtplatform.mvp.client.proxy.ResetPresentersEvent;
Expand Down Expand Up @@ -225,6 +226,10 @@ public void fireEvent(GwtEvent<?> event) {
getEventBus().fireEventFromSource(event, this);
}

public void fireEvent(Event<?> event) {
getEventBus().fireEventFromSource(event, this);
}

/**
* Returns the {@link View} for the current presenter.
*
Expand Down

0 comments on commit a308578

Please sign in to comment.