List of usage examples for com.google.gwt.event.shared HandlerManager HandlerManager
public HandlerManager(Object source)
From source file:org.geomajas.gwt.client.map.MapView.java
License:Open Source License
/** Default constructor that initializes all it's fields. */ public MapView() { handlerManager = new HandlerManager(this); }
From source file:org.geomajas.gwt2.plugin.geocoder.client.widget.GeocoderWidgetPresenterImpl.java
License:Open Source License
/** * Create geocoder widget which allows searching a location from a string. * * @param mapPresenter map to apply search results * @param geocoderWidgetView geocoder widget *//*from w ww . j a v a2 s . co m*/ public GeocoderWidgetPresenterImpl(MapPresenter mapPresenter, GeocoderWidgetView geocoderWidgetView, GeocoderWidgetAlternativesView alternativesView) { this.mapPresenter = mapPresenter; this.geocoderWidgetView = geocoderWidgetView; this.alternativesView = alternativesView; handlerManager = new HandlerManager(this); bind(); }
From source file:org.geomajas.gwt2.plugin.print.client.widget.PrintWidgetPresenterImpl.java
License:Open Source License
/** * Default constructor./*from w w w . j a v a2s. c o m*/ * * @param mapPresenter mapPresenter of the map to be printed. * @param applicationId Id of the application whose elements need to be printed. * @param view view */ public PrintWidgetPresenterImpl(MapPresenter mapPresenter, String applicationId, PrintWidgetView view) { this.view = view; this.mapPresenter = mapPresenter; this.applicationId = applicationId; handlerManager = new HandlerManager(this); bind(); }
From source file:org.geomajas.plugin.deskmanager.client.gwt.geodesk.AbstractUserApplication.java
License:Open Source License
/** * Construct an abstract application and initialize handlers. */// w w w . ja v a 2s. c o m public AbstractUserApplication() { handlerManager = new HandlerManager(this); GwtCommandCallback cb = new DeskmanagerGwtCommandCallback(); GwtCommandDispatcher.getInstance().setCommandExceptionCallback(cb); GwtCommandDispatcher.getInstance().setCommunicationExceptionCallback(cb); }
From source file:org.geomajas.plugin.geocoder.client.GeocoderPresenter.java
License:Open Source License
/** * Create geocoder widget which allows searching a location from a string. * * @param mapPresenter map to apply search results * @param geocoderTextBox geocoder widget *///w w w. j a v a 2 s . c o m GeocoderPresenter(MapPresenter mapPresenter, GeocoderTextBox geocoderTextBox) { this.mapPresenter = mapPresenter; this.geocoderTextBox = geocoderTextBox; handlerManager = new HandlerManager(this); setSelectAlternativeHandler(this); setSelectLocationHandler(this); }
From source file:org.geomajas.plugin.staticsecurity.client.Authentication.java
License:Open Source License
private Authentication() { manager = new HandlerManager(this); }
From source file:org.geosdi.geoplatform.gui.action.GeoPlatformToolbarAction.java
License:Open Source License
public GeoPlatformToolbarAction(AbstractImagePrototype image) { this.image = image; this.handlerManager = new HandlerManager(this); }
From source file:org.geosdi.geoplatform.gui.action.menu.MenuAction.java
License:Open Source License
public MenuAction(String title) { this.title = title; this.handlerManager = new HandlerManager(this); }
From source file:org.gwt.dynamic.common.client.services.AbstractServiceConsumer.java
License:MIT License
@Override public HandlerRegistration addBusyHandler(BusyHandler handler) { if (handlerManager == null) handlerManager = new HandlerManager(this); return handlerManager.addHandler(BusyEvent.getType(), handler); }
From source file:org.gwt.dynamic.host.client.features.BusyFeatureProvider.java
License:MIT License
public BusyFeatureProvider() { super(MODULE_HOST); handlerManager = new HandlerManager(this); LOG.info("BusyFeatureProvider: instantiated"); }