/*
* This is part of Geomajas, a GIS framework, http://www.geomajas.org/.
*
* Copyright 2008-2015 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.layer.google.gwt.example.client;
import com.google.gwt.core.client.GWT;
import org.geomajas.gwt.example.base.SampleTreeNode;
import org.geomajas.gwt.example.base.SampleTreeNodeRegistry;
import com.google.gwt.core.client.EntryPoint;
import org.geomajas.layer.google.gwt.example.client.i18n.GoogleMessages;
/**
* Entry point and main class for GWT application. This class defines the layout and functionality of this application.
*
* @author Jan De Moerloose
*/
public class GoogleExample implements EntryPoint {
public static final GoogleMessages MESSAGES = GWT.create(GoogleMessages.class);
public void onModuleLoad() {
SampleTreeNodeRegistry.addSampleTreeNode(new SampleTreeNode(MESSAGES.googleTitle(),
"[ISOMORPHIC]/geomajas/osgeo/layer-raster.png", GooglePanel.TITLE, "Layers",
GooglePanel.FACTORY));
}
}