Mercurial > dive4elements > river
view flys-client/ChangeLog @ 4:89976499e013
Implemented a ProjectList and added a mockup that displays two collections in that list.
flys-client/trunk@1312 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 10 Feb 2011 14:52:49 +0000 |
parents | 9cf5a40b62c7 |
children | 14bf7895a2ec |
line wrap: on
line source
2011-02-10 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ProjectList.java: The ProjectList stores a reference to the current user and provides a list with his existing projects. NOTE: There are created two Collections and two CollectionRecords for the mockup. This code needs to be removed after a service to fetch the user collections has been implemented. * src/main/java/de/intevation/flys/client/client/ui/CollectionGrid.java: This grid will show a list of collections with its last modification date, their uuid and two buttons to publish and delete the collection. NOTE: The buttons have no effect yet. * src/main/java/de/intevation/flys/client/client/FLYS.java: The FLYS class has a reference to the ProjectList. If a logged in user was found, the ProjectList is initialized and added to the FLYSView. * src/main/java/de/intevation/flys/client/client/ui/FLYSView.java: There is a new method to set the ProjectList. Furthermore, all UI components are put into a HLayout now. On this way, we are able to open/close the ProjectList. * src/main/java/de/intevation/flys/client/client/FLYSMessages.java, src/main/java/de/intevation/flys/client/client/FLYSMessages_en.properties, src/main/java/de/intevation/flys/client/client/FLYSMessages_de.properties: Added strings for the project list. 2011-02-10 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/DefaultCollection.java, src/main/java/de/intevation/flys/client/shared/model/Collection.java: The interface and its default implementation of a Collection. NOTE: I think both classes will change pretty much, but they have been necessary for the ProjectList mockup. 2011-02-10 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/FLYS.gwt.xml: The artifact-common package is available in the GWT code now. * pom.xml: Made the artifact-common package available. * src/main/java/de/intevation/flys/client/server/UserServiceImpl.java, src/main/java/de/intevation/flys/client/client/services/UserService.java, src/main/java/de/intevation/flys/client/client/services/UserServiceAsync.java: A service definition that retrieves user information. Currently, this service defines a single method that returns the user that is currently logged in. * src/main/webapp/WEB-INF/web.xml: Added a servlet definition that provides the UserService. * src/main/java/de/intevation/flys/client/client/FLYSMessages_en.properties, src/main/java/de/intevation/flys/client/client/FLYSMessages_de.properties, src/main/java/de/intevation/flys/client/client/FLYSMessages.java: Added I18N string for a guest user. * src/main/java/de/intevation/flys/client/client/ui/MainMenu.java: There are new methods to set the current user and to update the menu with its name. * src/main/java/de/intevation/flys/client/client/FLYS.java: After creating the necessary components, the current user is queried by the UserService and displayed in the menu bar.