/* * 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.geotools.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.geotools.gwt.example.client.i18n.GeoToolsMessages; /** * Entry point and main class for GWT application. This class defines the layout and functionality of this application. * * @author Jan De Moerloose */ public class GeoToolsExample implements EntryPoint { public static final GeoToolsMessages MESSAGES = GWT.create(GeoToolsMessages.class); public void onModuleLoad() { SampleTreeNodeRegistry.addSampleTreeNode(new SampleTreeNode(MESSAGES.geoToolsTitle(), "[ISOMORPHIC]/geomajas/osgeo/layer-raster.png", GeoToolsPanel.TITLE, "Layers", GeoToolsPanel.FACTORY)); } }