[Schmitzm-commits] r72 - trunk/src/schmitzm/geotools/gui
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Apr 21 19:14:13 CEST 2009
Author: alfonx
Date: 2009-04-21 19:14:13 +0200 (Tue, 21 Apr 2009)
New Revision: 72
Modified:
trunk/src/schmitzm/geotools/gui/GeotoolsGUIUtil.java
Log:
Added:
/**
* Convenience method to access the {@link AtlasCreator}s translation
* resources.
*
* @param key
* the key for the AtlasCreatorTranslation.properties file
* @param values
* optional values
*/
public static String R(String key, Object... values) {
return RESOURCE.getString(key, values);
}
Modified: trunk/src/schmitzm/geotools/gui/GeotoolsGUIUtil.java
===================================================================
--- trunk/src/schmitzm/geotools/gui/GeotoolsGUIUtil.java 2009-04-20 18:34:43 UTC (rev 71)
+++ trunk/src/schmitzm/geotools/gui/GeotoolsGUIUtil.java 2009-04-21 17:14:13 UTC (rev 72)
@@ -35,6 +35,20 @@
* hinterlegt. */
public static ResourceProvider RESOURCE = new ResourceProvider( LangUtil.extendPackagePath(GeotoolsGUIUtil.class,"resource.locales.GTResourceBundle"), Locale.ENGLISH );
+ /**
+ * Convenience method to access the {@link AtlasCreator}s translation
+ * resources.
+ *
+ * @param key
+ * the key for the AtlasCreatorTranslation.properties file
+ * @param values
+ * optional values
+ */
+ public static String R(String key, Object... values) {
+ return RESOURCE.getString(key, values);
+ }
+
+
/** {@link FileNameExtensionFilter} fuer ArcInfoAscii-Raster. */
public static final FileNameExtensionFilter FILTER_RASTER_ASCII = new FileNameExtensionFilter("ASCII-Raster (*.asc)","asc");
/** {@link FileNameExtensionFilter} fuer GeoTiff-Raster. */
More information about the Schmitzm-commits
mailing list