@Override protected void configure() { super.configure(); }
@Override protected void configure() { super.configure(); bind(SmartGwtRootPresenter.class).asEagerSingleton(); bind(ViewUtil.class).to(ViewUtilImpl.class).in(Singleton.class); bindPresenter(SldEditorExpertPresenter.class, SldEditorExpertPresenter.MyView.class, SldEditorView.class, SldEditorExpertPresenter.MyProxy.class); } }
@Override protected void configure() { bind(EventBus.class).to(SimpleEventBus.class).in(Singleton.class); bind(TokenFormatter.class).to(ParameterTokenFormatter.class).in(Singleton.class); bind(GoogleAnalytics.class).to(GoogleAnalyticsImpl.class).in(Singleton.class); // You will need to add this if you are using MVP // bind(RootPresenter.class).asEagerSingleton(); /** * this makes the sldeditor the default place to open. * <p>Rebind this if you want something else. */ bind(PlaceManager.class).to(SldEditorPlaceManager.class).in(Singleton.class); /** * Contains service calls to parse / validate / load / save SLD data */ bind(SldManager.class).to(SldManagerImpl.class).in(Singleton.class); /** * i18n */ bind(SldEditorExpertMessages.class).in(Singleton.class); } }
@Override protected void configure() { super.configure(); }