/*
 * Copyright 2013 Erwin Müller <erwin.mueller@deventm.org>
 *
 * This file is part of sscontrol-core.
 *
 * sscontrol-core is free software: you can redistribute it and/or modify it
 * under the terms of the GNU Affero General Public License as published by the
 * Free Software Foundation, either version 3 of the License, or (at your
 * option) any later version.
 *
 * sscontrol-core is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License
 * for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with sscontrol-core. If not, see <http://www.gnu.org/licenses/>.
 */
package com.anrisoftware.sscontrol.core.modules;

import com.anrisoftware.resources.binary.binaries.BinariesResourcesModule;
import com.anrisoftware.resources.binary.maps.BinariesDefaultMapsModule;
import com.anrisoftware.resources.texts.maps.TextsDefaultMapsModule;
import com.anrisoftware.resources.texts.texts.TextsResourcesCharsetModule;
import com.anrisoftware.resources.texts.texts.TextsResourcesModule;
import com.google.inject.AbstractModule;

/**
 * Installs the core text resources.
 * 
 * @author Erwin Mueller, erwin.mueller@deventm.org
 * @since 1.0
 */
public class CoreResourcesModule extends AbstractModule {

	@Override
	protected void configure() {
		installResources();
	}

	private void installResources() {
		install(new TextsResourcesModule());
		install(new TextsDefaultMapsModule());
		install(new TextsResourcesCharsetModule());
		install(new BinariesResourcesModule());
		install(new BinariesDefaultMapsModule());
	}
}

@@ -57,16 +57,17 @@
 .org%3E%0A *
+ 
 %0A * This
@@ -97,24 +97,25 @@
 rol-core.%0A *
+ 
 %0A * sscontro
@@ -362,24 +362,25 @@
  version.%0A *
+ 
 %0A * sscontro
@@ -444,19 +444,16 @@
  but
-%0A *
  WITHOUT
  ANY
@@ -448,16 +448,19 @@
  WITHOUT
+%0A *
  ANY WAR
@@ -525,19 +525,16 @@
 Y or
-%0A *
  FITNESS
  FOR
@@ -529,16 +529,19 @@
  FITNESS
+%0A *
  FOR A P
@@ -600,19 +600,16 @@
  License
-%0A *
  for mor
@@ -609,16 +609,19 @@
 for more
+%0A *
  details
@@ -624,16 +624,17 @@
 ails.%0A *
+ 
 %0A * You 
@@ -868,40 +868,42 @@
 ces.
-binary.binaries.BinariesResource
+templates.maps.TemplatesDefaultMap
 sMod
@@ -945,38 +945,45 @@
 ces.
-binary.maps.BinariesDefaultMap
+templates.templates.TemplatesResource
 sMod
@@ -1027,32 +1027,41 @@
 s.te
-xts.maps.TextsDefaultMap
+mplates.worker.STDefaultPropertie
 sMod
@@ -1105,39 +1105,31 @@
 s.te
-xts.texts.TextsResourcesCharset
+mplates.worker.STWorker
 Modu
@@ -1172,19 +1172,22 @@
 s.texts.
-tex
+defaul
 ts.Texts
@@ -1187,32 +1187,39 @@
 s.TextsResources
+Default
 Module;%0Aimport c
@@ -1548,32 +1548,39 @@
 w TextsResources
+Default
 Module());%0A%09%09ins
@@ -1594,21 +1594,23 @@
 w Te
-xtsDefaultMap
+mplatesResource
 sMod
@@ -1637,27 +1637,26 @@
 w Te
-xtsResourcesCharset
+mplatesDefaultMaps
 Modu
@@ -1680,25 +1680,16 @@
 new 
-BinariesResources
+STWorker
 Modu
@@ -1713,26 +1713,26 @@
 new 
-BinariesDefaultMap
+STDefaultPropertie
 sMod

Add template resources