Mercurial > dive4elements > river
comparison 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 |
comparison
equal
deleted
inserted
replaced
210:c587903f02a4 | 211:b92281182c6b |
---|---|
14 import de.intevation.flys.client.shared.model.Collection; | 14 import de.intevation.flys.client.shared.model.Collection; |
15 import de.intevation.flys.client.shared.model.CollectionRecord; | 15 import de.intevation.flys.client.shared.model.CollectionRecord; |
16 import de.intevation.flys.client.shared.model.User; | 16 import de.intevation.flys.client.shared.model.User; |
17 | 17 |
18 import de.intevation.flys.client.client.Config; | 18 import de.intevation.flys.client.client.Config; |
19 import de.intevation.flys.client.client.FLYSMessages; | 19 import de.intevation.flys.client.client.FLYSConstants; |
20 import de.intevation.flys.client.client.event.CollectionChangeEvent; | 20 import de.intevation.flys.client.client.event.CollectionChangeEvent; |
21 import de.intevation.flys.client.client.event.CollectionChangeHandler; | 21 import de.intevation.flys.client.client.event.CollectionChangeHandler; |
22 import de.intevation.flys.client.client.services.UserCollectionsService; | 22 import de.intevation.flys.client.client.services.UserCollectionsService; |
23 import de.intevation.flys.client.client.services.UserCollectionsServiceAsync; | 23 import de.intevation.flys.client.client.services.UserCollectionsServiceAsync; |
24 | 24 |
31 public class ProjectList | 31 public class ProjectList |
32 extends VLayout | 32 extends VLayout |
33 implements CollectionChangeHandler | 33 implements CollectionChangeHandler |
34 { | 34 { |
35 /** The interface that provides i18n messages. */ | 35 /** The interface that provides i18n messages. */ |
36 private FLYSMessages messages = GWT.create(FLYSMessages.class); | 36 private FLYSConstants messages = GWT.create(FLYSConstants.class); |
37 | 37 |
38 /** The UserService used to retrieve information about the current user. */ | 38 /** The UserService used to retrieve information about the current user. */ |
39 protected UserCollectionsServiceAsync userCollectionsService = | 39 protected UserCollectionsServiceAsync userCollectionsService = |
40 GWT.create(UserCollectionsService.class); | 40 GWT.create(UserCollectionsService.class); |
41 | 41 |