<commit_before>/*
 * 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.project.deskmanager.quickstart.common.client;

import com.google.gwt.core.client.EntryPoint;
import org.geomajas.plugin.deskmanager.client.gwt.common.GdmLayout;
import org.geomajas.plugin.deskmanager.client.gwt.common.GeodeskIdUtil;

/**
 * Gwt entry point that configures properties that are shared between the manager and geodesk entrypoints.
 *
 * @author <NAME>
 */
public class DeskmanagerQuickstartCommonEntryPoint implements EntryPoint {

	@Override
	public void onModuleLoad() {

		//Setup geodesk id retriever
		GdmLayout.geodeskIdUtil = new GeodeskIdUtil() {
			@Override
			public String parseGeodeskId(String url) {
				return com.google.gwt.user.client.Window.Location.getParameter("geodesk");
			}

			@Override
			public String buildGeodeskUrl(String geodeskId) {
				return "../geodesk/index.html?geodesk=" + geodeskId;
			}
		};
	}
}<commit_msg>GDMQS-3: loading logo configuration<commit_after>/*
 * 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.project.deskmanager.quickstart.common.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import org.geomajas.plugin.deskmanager.client.gwt.common.GdmLayout;
import org.geomajas.plugin.deskmanager.client.gwt.common.GeodeskIdUtil;

/**
 * Gwt entry point that configures properties that are shared between the manager and geodesk entrypoints.
 *
 * @author <NAME>
 */
public class DeskmanagerQuickstartCommonEntryPoint implements EntryPoint {

	@Override
	public void onModuleLoad() {

		//Setup geodesk id retriever
		GdmLayout.geodeskIdUtil = new GeodeskIdUtil() {
			@Override
			public String parseGeodeskId(String url) {
				return com.google.gwt.user.client.Window.Location.getParameter("geodesk");
			}

			@Override
			public String buildGeodeskUrl(String geodeskId) {
				return "../geodesk/index.html?geodesk=" + geodeskId;
			}
		};
		//loading logo
		GdmLayout.loadingLogo = GWT.getModuleBaseURL() + "images/Geomajas-Logo-Large.png";
	}
}
{'fraction_non_alphanumeric': 0.10046478369681802, 'fraction_numerical': 0.006077940650697175, 'mean_word_length': 4.269303201506592, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6653694', 'n_tokens_mistral': 957, 'n_tokens_neox': 872, 'n_words': 230}