| 167 |
ashish |
1 |
package in.shop2020.hotspot.dashbaord.client.gin;
|
|
|
2 |
|
|
|
3 |
import net.customware.gwt.dispatch.client.DefaultDispatchAsync;
|
|
|
4 |
import net.customware.gwt.dispatch.client.DispatchAsync;
|
|
|
5 |
import in.shop2020.hotspot.dashbaord.client.LoginDisplayPresenter;
|
|
|
6 |
import in.shop2020.hotspot.dashbaord.client.LoginDisplayPresenterImpl;
|
|
|
7 |
import in.shop2020.hotspot.dashbaord.client.LoginDisplayWidget;
|
|
|
8 |
import in.shop2020.hotspot.dashbaord.client.MainPresenter;
|
|
|
9 |
import in.shop2020.hotspot.dashbaord.client.MainPresenterImpl;
|
|
|
10 |
import in.shop2020.hotspot.dashbaord.client.MainWidget;
|
| 438 |
rajveer |
11 |
import in.shop2020.hotspot.dashbaord.client.admin.AdminPresenter;
|
|
|
12 |
import in.shop2020.hotspot.dashbaord.client.admin.AdminPresenterImpl;
|
|
|
13 |
import in.shop2020.hotspot.dashbaord.client.admin.AdminWidget;
|
| 167 |
ashish |
14 |
import in.shop2020.hotspot.dashbaord.client.inbox.InboxPresenter;
|
|
|
15 |
import in.shop2020.hotspot.dashbaord.client.inbox.InboxPresenterImpl;
|
|
|
16 |
import in.shop2020.hotspot.dashbaord.client.inbox.InboxWidget;
|
|
|
17 |
|
|
|
18 |
import com.google.gwt.inject.client.AbstractGinModule;
|
|
|
19 |
|
|
|
20 |
public class Module extends AbstractGinModule{
|
|
|
21 |
|
|
|
22 |
@Override
|
|
|
23 |
protected void configure() {
|
|
|
24 |
|
|
|
25 |
install(new org.enunes.gwt.mvp.client.gin.Module());
|
|
|
26 |
|
|
|
27 |
bind(LoginDisplayPresenter.class).to(LoginDisplayPresenterImpl.class);
|
|
|
28 |
bind(LoginDisplayPresenter.Display.class).to(LoginDisplayWidget.class);
|
|
|
29 |
|
|
|
30 |
bind(InboxPresenter.class).to(InboxPresenterImpl.class);
|
|
|
31 |
bind(InboxPresenter.Display.class).to(InboxWidget.class);
|
|
|
32 |
|
| 438 |
rajveer |
33 |
bind(AdminPresenter.class).to(AdminPresenterImpl.class);
|
|
|
34 |
bind(AdminPresenter.Display.class).to(AdminWidget.class);
|
|
|
35 |
|
| 167 |
ashish |
36 |
bind(MainPresenter.class).to(MainPresenterImpl.class);
|
|
|
37 |
bind(MainPresenter.Display.class).to(MainWidget.class);
|
|
|
38 |
|
|
|
39 |
bind(DispatchAsync.class).to(DefaultDispatchAsync.class);
|
|
|
40 |
}
|
|
|
41 |
}
|