diff flys-client/src/main/java/de/intevation/flys/client/client/ui/ProjectList.java @ 211:b92281182c6b

Removed the FLYSMessages interface and replaced it with a FLYSConstants interface - this interface has the ability to lookup i18n strings with given keys. flys-client/trunk@1645 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 05 Apr 2011 08:13:48 +0000
parents 0bec0112c8b3
children 35094660f91a
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/ProjectList.java	Tue Apr 05 06:25:17 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/ProjectList.java	Tue Apr 05 08:13:48 2011 +0000
@@ -16,7 +16,7 @@
 import de.intevation.flys.client.shared.model.User;
 
 import de.intevation.flys.client.client.Config;
-import de.intevation.flys.client.client.FLYSMessages;
+import de.intevation.flys.client.client.FLYSConstants;
 import de.intevation.flys.client.client.event.CollectionChangeEvent;
 import de.intevation.flys.client.client.event.CollectionChangeHandler;
 import de.intevation.flys.client.client.services.UserCollectionsService;
@@ -33,7 +33,7 @@
 implements   CollectionChangeHandler
 {
     /** The interface that provides i18n messages. */
-    private FLYSMessages messages = GWT.create(FLYSMessages.class);
+    private FLYSConstants messages = GWT.create(FLYSConstants.class);
 
     /** The UserService used to retrieve information about the current user. */
     protected UserCollectionsServiceAsync userCollectionsService =

http://dive4elements.wald.intevation.org