title: Trouble with EventBus and Gin in Gwt 2.4
body: <p>I'm trying to use Gin in MVP GWT 2.4. In my module, I have:</p>
  
  <pre><code>import com.google.web.bindery.event.shared.EventBus;
  import com.google.web.bindery.event.shared.SimpleEventBus;
  
      @Override
        protected void configure() {
          bind(EventBus.class).to(SimpleEventBus.class).in(Singleton.class);
          ...
        }
  </code></pre>
  
  <p>The above code uses the new <code>com.google.web.bindery.event.shared.EventBus</code>. The problem comes when I want to inject the event bus in MVP Activities that implement Activity:</p>
  
  <pre><code>package com.google.gwt.activity.shared;
  
  import com.google.gwt.event.shared.EventBus;
  import com.google.gwt.user.client.ui.AcceptsOneWidget;
  
  public interface Activity {
  
    ...
  
    void start(AcceptsOneWidget panel, EventBus eventBus);
  }
  </code></pre>
  
  <p><code>Activity</code> uses the deprecated <code>com.google.gwt.event.shared.EventBus</code>. How can I reconcile the two? Obviously, if I ask for the deprecated type of EventBus, then Gin will complain because I didn't specify a binding for it.</p>
  
  <p><strong>Update</strong>: This will allow the app to build, but now there are two different <code>EventBus</code>s, which is awful:</p>
  
  <pre><code> protected void configure() {
      bind(com.google.gwt.event.shared.EventBus.class).to(
          com.google.gwt.event.shared.SimpleEventBus.class).in(Singleton.class);
      bind(EventBus.class).to(SimpleEventBus.class).in(Singleton.class);
      ...
  </code></pre>