/*
 * This is part of Geomajas, a GIS framework, http://www.geomajas.org/.
 *
 * Copyright 2008-2012 Geosparc nv, http://www.geosparc.com/, Belgium.
 *
 * The program is available in open source according to the GNU Affero
 * General Public License. All contributions in this program are covered
 * by the Geomajas Contributors License Agreement. For full licensing
 * details, see LICENSE.txt in the project root.
 */

package org.geomajas.puregwt.client;

import org.geomajas.puregwt.client.gfx.GfxUtil;
import org.geomajas.puregwt.client.map.MapPresenter;

import com.google.gwt.inject.client.GinModules;
import com.google.gwt.inject.client.Ginjector;

/**
 * Ginjector specific for the Geomajas pure GWT client.
 * 
 * @author Pieter De Graef
 */
@GinModules(GeomajasGinModule.class)
public interface GeomajasGinjector extends Ginjector {

	MapPresenter getMapPresenter();

	GfxUtil getGfxUtil();
}
@@ -551,16 +551,135 @@
 esenter;
+%0Aimport org.geomajas.puregwt.client.service.CommandService;%0Aimport org.geomajas.puregwt.client.service.EndPointService;
 %0A%0Aimport
@@ -961,60 +961,963 @@
 %7B%0A%0A%09
-MapPresenter getMapPresenter();%0A%0A%09GfxUtil getGfxUtil
+/**%0A%09 * Create a new empty map. This map still needs to be initialized (so it fetches a configuration).%0A%09 * %0A%09 * @return An empty map.%0A%09 */%0A%09MapPresenter getMapPresenter();%0A%0A%09/**%0A%09 * Get the %7B@link GfxUtil%7D singleton. Utility service that helps out when rendering custom shapes on the map.%0A%09 * %0A%09 * @return The %7B@link GfxUtil%7D singleton.%0A%09 */%0A%09GfxUtil getGfxUtil();%0A%0A%09/**%0A%09 * Get the %7B@link EndPointService%7D singleton. Has pointers to the Geomajas services on the back-end, and allows%0A%09 * those end-points to be altered in case your server lies elsewhere (or behind a proxy, or...).%0A%09 * %0A%09 * @return The %7B@link EndPointService%7D singleton.%0A%09 */%0A%09EndPointService getEndPointService();%0A%0A%09/**%0A%09 * Get the %7B@link EndPointService%7D singleton. This service allows for executing commands on the back-end. It is the%0A%09 * base for all Geomajas client-server communication.%0A%09 * %0A%09 * @return The %7B@link EndPointService%7D singleton.%0A%09 */%0A%09CommandService getCommandService
 ();%0A

Create map specific event bus with registration methods for all available events