@Test public void presentationAsSelectLocationHandlerTest(){ SelectLocationEvent event = new SelectLocationEvent(mapPresenterMock, createGetLocationForStringResponse()); ((SelectLocationHandler) presenter).onSelectLocation(event); verifyPresentationAsSelectLocationHandlerExecuted(); }
@Override public void onSelectLocation(SelectLocationEvent event) { mapPresenter.getViewPort().applyBounds(event.getBbox()); geocoderWidgetView.setValue(event.getCanonicalLocation()); }
GeocoderWidgetPresenterImpl implements GeocoderWidgetPresenter, GeocoderWidgetAlternativesPresenter,
		SelectLocationHandler, SelectAlternativeHandler, LocationNotFoundHandler { @Override public void onSelectLocation(SelectLocationEvent event) { mapPresenter.getViewPort().applyBounds(event.getBbox()); geocoderWidgetView.setValue(event.getCanonicalLocation()); } }
GeocoderWidgetPresenterImpl implements GeocoderWidgetPresenter, GeocoderWidgetAlternativesPresenter,
		SelectLocationHandler, SelectAlternativeHandler, LocationNotFoundHandler { @Override public void onSelectLocation(SelectLocationEvent event) { mapPresenter.getViewPort().applyBounds(event.getBbox()); geocoderWidgetView.setValue(event.getCanonicalLocation()); } GeocoderWidgetPresenterImpl(MapPresenter mapPresenter, GeocoderWidgetView geocoderWidgetView,
									   GeocoderWidgetAlternativesView alternativesView); }
GeocoderWidgetPresenterImpl implements GeocoderWidgetPresenter, GeocoderWidgetAlternativesPresenter,
		SelectLocationHandler, SelectAlternativeHandler, LocationNotFoundHandler { @Override public void onSelectLocation(SelectLocationEvent event) { mapPresenter.getViewPort().applyBounds(event.getBbox()); geocoderWidgetView.setValue(event.getCanonicalLocation()); } GeocoderWidgetPresenterImpl(MapPresenter mapPresenter, GeocoderWidgetView geocoderWidgetView,
									   GeocoderWidgetAlternativesView alternativesView); String getServicePattern(); void setServicePattern(String servicePattern); @Override void findLocation(final String location); @Override void goToLocation(final GetLocationForStringResponse response, final String location); @Override void onSelectLocation(SelectLocationEvent event); @Override void onSelectAlternative(SelectAlternativeEvent event); @Override void onLocationNotFound(LocationNotFoundEvent event); HandlerRegistration setSelectAlternativeHandler(SelectAlternativeHandler handler); HandlerRegistration setSelectLocationHandler(SelectLocationHandler handler); HandlerRegistration setLocationNotFoundHandler(LocationNotFoundHandler handler); @Override void onAlternativesViewClosed(); Bbox getAlternativesViewShowBbox(); @Override void fireGeocoderEvent(GeocoderEvent event); void clearLocation(); }
GeocoderWidgetPresenterImpl implements GeocoderWidgetPresenter, GeocoderWidgetAlternativesPresenter,
		SelectLocationHandler, SelectAlternativeHandler, LocationNotFoundHandler { @Override public void onSelectLocation(SelectLocationEvent event) { mapPresenter.getViewPort().applyBounds(event.getBbox()); geocoderWidgetView.setValue(event.getCanonicalLocation()); } GeocoderWidgetPresenterImpl(MapPresenter mapPresenter, GeocoderWidgetView geocoderWidgetView,
									   GeocoderWidgetAlternativesView alternativesView); String getServicePattern(); void setServicePattern(String servicePattern); @Override void findLocation(final String location); @Override void goToLocation(final GetLocationForStringResponse response, final String location); @Override void onSelectLocation(SelectLocationEvent event); @Override void onSelectAlternative(SelectAlternativeEvent event); @Override void onLocationNotFound(LocationNotFoundEvent event); HandlerRegistration setSelectAlternativeHandler(SelectAlternativeHandler handler); HandlerRegistration setSelectLocationHandler(SelectLocationHandler handler); HandlerRegistration setLocationNotFoundHandler(LocationNotFoundHandler handler); @Override void onAlternativesViewClosed(); Bbox getAlternativesViewShowBbox(); @Override void fireGeocoderEvent(GeocoderEvent event); void clearLocation();  }