Mercurial > dive4elements > river
view flys-client/ChangeLog @ 42:ba7df4a24ae0
Added a new widget to enter w/Q values in single and range mode.
flys-client/trunk@1483 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 16 Mar 2011 15:52:13 +0000 |
parents | 87a44f8e25cc |
children | 6bcd8e3f21a7 |
line wrap: on
line source
2011-03-16 Ingo Weinzierl <ingo@intevation.de> * 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 strings used in the WQInputPanel. * src/main/java/de/intevation/flys/client/client/ui/DoubleRangePanel.java: New. This panel contains three input fields that enables the user to enter a start and end value and a step width. Furthermore, there are methods to validate the fields and to retrieve its values. * src/main/java/de/intevation/flys/client/client/ui/DoubleArrayPanel.java: New. This panel contains a single input field that enables the user to enter a list of double values. There is a method to validate the input and a method to retrieve the list of entered double values. * src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: New. This panel allows the user to enter W or Q values for single or range input in one single state. 2011-03-16 Ingo Weinzierl <ingo@intevation.de> * 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 strings used in the LocationDistancePanel. * src/main/java/de/intevation/flys/client/client/ui/AbstractUIProvider.java: New. This abstract class implements the UIProvider and the HasStepForwardHandlers interface and its necessary methods. These two things are required by each concrete UIProvider, so this class should be the base class for further concrete UIProviders. * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java: New. A UIProvider that enables the user to enter locations or a distance. * src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java: States with a uiprovider attribute set to 'location_distance_panel' use the LocationDistancePanel for user input. 2011-03-15 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ParameterList.java: Clear the panel that displays the current input widget before adding a new one to this panel. 2011-03-15 Ingo Weinzierl <ingo@intevation.de> * 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 a i18n string for a new calculation. * src/main/java/de/intevation/flys/client/client/FLYSImages.java, src/main/java/de/intevation/flys/client/client/images/gewkarte.png: New image: the map that shows the relevant rivers. * src/main/java/de/intevation/flys/client/client/ui/MapSelection.java: Added the river map to the right panel of that widget. * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Implemented the step forward mechanism. 2011-03-14 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/SelectProvider.java, src/main/java/de/intevation/flys/client/client/ui/ModuleSelection.java: Save the name of the data item. We need the name for feed(). * src/main/java/de/intevation/flys/client/client/ui/ParameterList.java: Before adding further old data items, we gonna check if the item is already existing in the list. If it exists, the item is not added. 2011-03-14 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/ArtifactDescriptionFactory.java, src/main/java/de/intevation/flys/client/client/ui/CollectionView.java, src/main/java/de/intevation/flys/client/client/ui/SelectProvider.java: Read i18n strings from DESCRIBE document and display them in the UI. 2011-03-10 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Integrated the mechnism to listen on paramer changes. The CollectionView is both: a HasParameterChangeHandler and a ParameterChangeHandler. 2011-03-10 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/SelectProvider.java: Bugfix: Removed static string from gui. 2011-03-10 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/ArtifactDescriptionFactory.java: Parse the static data from DESCRIBE document and put it into the ArtifactDescription. 2011-03-10 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/event/HasParameterChangeHandler.java, src/main/java/de/intevation/flys/client/client/event/ParameterChangeHandler.java, src/main/java/de/intevation/flys/client/client/event/ParameterChangeEvent.java: New. Interfaces and classes used for a listener mechanism to notify listeners when the parameterization of a Collection/Artifact has changed. 2011-03-10 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/services/StepForwardServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/StepForwardService.java, src/main/java/de/intevation/flys/client/server/StepForwardServiceImpl.java: New. This service bundles the artifact operations feed() and advance() into a single service. * src/main/java/de/intevation/flys/client/client/services/AdvanceServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/AdvanceService.java, src/main/java/de/intevation/flys/client/server/AdvanceServiceImpl.java: New. This service provides a method that triggers the advance() operation of the artifact server. * src/main/java/de/intevation/flys/client/server/ArtifactDescriptionFactory.java: Added code to parse the reachable states from DESCRIBE. * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Make use of the 'forward' service after choosing the module and the river. * src/main/webapp/WEB-INF/web.xml: Registered the new services 'forward' and 'advance'. 2011-03-09 Ingo Weinzierl <ingo@intevation.de> * src/test/java/de/intevation/flys/client/FLYSJUnit.gwt.xml, src/main/java/de/intevation/flys/client/client/GreetingServiceAsync.java, src/main/java/de/intevation/flys/client/client/GreetingService.java: Removed the GreetingService from out application - this service has been added initially by creating this repository. 2011-03-09 Ingo Weinzierl <ingo@intevation.de> * 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 strings for the module and river selection. * src/main/java/de/intevation/flys/client/client/ui/ModuleSelection.java: New. A wrapper for the module and river selection. Both information can be chosen in just one step. * src/main/java/de/intevation/flys/client/client/ui/MapSelection.java, src/main/java/de/intevation/flys/client/client/ui/SelectProvider.java: Some layout improvements. * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Makes use of the ModuleSelection if no artifact is existing in a new CollectionView. Users may now choose the desired plugin and the river in one single step. 2011-03-09 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/services/RiverServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/RiverService.java, src/main/java/de/intevation/flys/client/server/RiverServiceImpl.java: New. A service that retrieves a list of supported rivers by the artifact server. * src/main/java/de/intevation/flys/client/shared/model/River.java, src/main/java/de/intevation/flys/client/shared/model/DefaultRiver.java: New. A model class and its default implementation to store rivers. * src/main/java/de/intevation/flys/client/client/FLYS.java: At application start, the provided rivers by the artifact server are fetched using the RiverService. The rivers are queriable via a getRivers() method. * src/main/webapp/WEB-INF/web.xml: Registered the RiverService. 2011-03-08 Ingo Weinzierl <ingo@intevation.de> * 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 strings used in the menu panel. * src/main/java/de/intevation/flys/client/client/FLYS.java: Added a method to retrieve the project list. * src/main/java/de/intevation/flys/client/client/ui/MainMenu.java: Added further buttons (labels with ClickHandler) to switch the language, logout the current user or open an info panel. 2011-03-08 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/images/flys_logo.gif, src/main/java/de/intevation/flys/client/client/images/bfg_logo.gif: New. A logo of the BfG and a logo of the application FLYS. Both copied from desktop FLYS. * src/main/java/de/intevation/flys/client/client/FLYSImages.java: New. This interface grants access to the images used in this application. * 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 the fullname of FLYS. * src/main/java/de/intevation/flys/client/client/ui/FLYSHeader.java: New. This class displays the header containing a FLYS and a BfG logo. * src/main/java/de/intevation/flys/client/client/FLYS.java: Integrated the FLYSHeader into the layout at the bottom of the application. * src/main/webapp/FLYS.html: Set the title of the application to "FLYS-3.0". 2011-03-07 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/services/CreateCollectionService.java, src/main/java/de/intevation/flys/client/client/services/CreateCollectionServiceAsync.java, src/main/java/de/intevation/flys/client/server/CreateCollectionServiceImpl.java: New. A service that might be used to create new collections in the artifact server. * src/main/webapp/WEB-INF/web.xml: Registered the service to create new collections. * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Added the service to create new collections. Currently, this service is not used. 2011-03-07 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/DefaultUser.java, src/main/java/de/intevation/flys/client/shared/model/User.java: A user interface and its default implementation. * src/main/java/de/intevation/flys/client/client/services/UserService.java, src/main/java/de/intevation/flys/client/client/services/UserServiceAsync.java, * src/main/java/de/intevation/flys/client/server/UserServiceImpl.java: This service will currently return the first user that is returned by the artifact server. * src/main/java/de/intevation/flys/client/client/FLYS.java: The FLYS instance stores the user that is logged in, because we need to make use of this user in many services. * src/main/java/de/intevation/flys/client/client/ui/ProjectList.java, src/main/java/de/intevation/flys/client/client/ui/MainMenu.java: Make use of the User of this package - the User of the common package is not used any longer. 2011-03-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> * pom.xml: Added missing SmartGWT repository. 2011-02-22 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ParameterList.java: A UI widget that stores and displays the data of former states and the current data. The widget displaying of the current data is created by the UIProvider that is stored in the Data object. * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: We are able to create new WINFO artifacts. After the artifact has been created, the first 'state' is rendered in a 'WINFO tab' using the ParameterList. 2011-02-22 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/ArtifactDescriptionFactory.java: The 'uiprovider' attribute is parsed from DESCRIBE document and stored at the Data object. * src/main/java/de/intevation/flys/client/shared/model/Data.java, src/main/java/de/intevation/flys/client/shared/model/DefaultData.java: Implemented code to store the UIProvider (as string!) for the Data object. 2011-02-22 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/event/StepForwardEvent.java: An event that is thrown after the user has selected or entered data in the UI and triggers the feed & advance operations via UI button. * src/main/java/de/intevation/flys/client/client/event/HasStepForwardHandlers.java: This interface is used by classes that provide that step forward mechanism. * src/main/java/de/intevation/flys/client/client/event/StepForwardHandler.java: This interface is used by classes that want to listen to StepForwardEvents. 2011-02-22 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/UIProvider.java, src/main/java/de/intevation/flys/client/client/ui/MapSelection.java, src/main/java/de/intevation/flys/client/client/ui/SelectProvider.java: The interface description and two implementations of a UIProvider. A UIProvider is used to create widgets for the user input. The UIProvider that is used in the current state depends on the data type in the describe document and a 'uiprovider' flag that might be configured there. * src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java: The factory that is used to create new instances of UIProvider. 2011-02-21 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: This view implements the HasCollectionChangeHandlers interface - CollectionChangeHandler can register to this class and retrieve notifications when the collection of this view changes. 2011-02-18 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/event/CollectionChangeHandler.java, src/main/java/de/intevation/flys/client/client/event/CollectionChangeEvent.java, src/main/java/de/intevation/flys/client/client/event/HasCollectionChangeHandlers.java: New. These interfaces and classes should be used to listen to changes in Collections. 2011-02-18 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: Enhanced the Collection and its default implementation with new methods to add new Artifacts, retrieve Artifacts and get the number of artifacts managed by the Collection. 2011-02-18 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/ArtifactDescriptionFactory.java: New. This factory is used to create an ArtifactDescription based on an DESCRIBE document returned by the artifact server. * src/main/java/de/intevation/flys/client/server/FLYSArtifactCreator.java: A new DefaultArtifact with an ArtifactDescription that contains the dynamic UI part is returned by the create() method now. 2011-02-17 Ingo Weinzierl <ingo@intevation.de> * pom.xml: This client uses the artifacts http-client for the communication between client and server now. * src/main/java/de/intevation/flys/client/server/FLYSArtifactCreator.java: New. An instance of the ArtitactCreator interface of the http-client. It uses the document returned by the artifact server to create an artifact instance. NOTE: The artifact creation needs to be implemented! This is currently just a stub to make the other things work. * src/main/java/de/intevation/flys/client/client/services/ArtifactServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/ArtifactService.java: The method signature of create() changed: the server url is required now. * src/main/java/de/intevation/flys/client/server/ArtifactServiceImpl.java: Make use of the HttpClient and the FLYSArtifactCreator to create artifacts. * src/main/java/de/intevation/flys/client/client/FLYS.java, src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Added the server url to the create() call of the ArtifactService. 2011-02-16 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: This view will now display radio buttons to choose between the module 'WINFO', 'MINFO', 'Map' and 'Fix-Analyse'. A button is shown to create an artifact of the selected module. NOTE: The next step here is to use the returning artifact with its description and display widgets based on these information. * 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 strings for the CollectionView's 'next' button. 2011-02-16 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/ArtifactDescription.java, src/main/java/de/intevation/flys/client/shared/model/DataItem.java, src/main/java/de/intevation/flys/client/shared/model/Data.java: The interfaces implement the Serializable interface now. * src/main/java/de/intevation/flys/client/shared/model/DefaultArtifactDescription.java, src/main/java/de/intevation/flys/client/shared/model/DefaultDataItem.java, src/main/java/de/intevation/flys/client/shared/model/DefaultData.java: New. Default implementions of the interfaces above. These classes implements constructors and the necessary methods of the interface descriptions only! 2011-02-16 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/ArtifactServiceImpl.java, src/main/java/de/intevation/flys/client/client/services/ArtifactServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/ArtifactService.java: New. Interface descriptions and the server implementation of an artifact service that provides basic methods for working with artifacts. NOTE: The implementation is currently just a stub. The artifact creation needs to be implemented. * src/main/webapp/WEB-INF/web.xml: Added a servlet for the artifact interface. 2011-02-16 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/Artifact.java: Implements the serializable interface which is necessary to be able to use this object in the GWT client code. * src/main/java/de/intevation/flys/client/shared/model/DefaultArtifact.java: New. A simple default implementation of an artifact. 2011-02-16 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/FLYS.gwt.xml: Added the Resources and XML modules of GWT. * src/main/java/de/intevation/flys/client/client/config.xml: An xml file that will contain the client configuration. * src/main/java/de/intevation/flys/client/client/Config.java: New. This class should be used to handle the client configuration and provides methods for retrieving information about the configuration. * src/main/java/de/intevation/flys/client/client/FLYSResources.java: The configuration (Config) is initialized at the startup. 2011-02-11 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/Artifact.java: New. The interface description of an artifact used in this client. There are several methods that provide information about the artifact itself and its representation. * src/main/java/de/intevation/flys/client/shared/model/ArtifactDescription.java: New. The ArtifactDescription provides information about the current representation of an artifact. * src/main/java/de/intevation/flys/client/shared/model/DataItem.java, src/main/java/de/intevation/flys/client/shared/model/Data.java: New. The interfaces are used to handle user input. 2011-02-11 Ingo Weinzierl <ingo@intevation.de> * 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 strings for the plugins. * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Display radio buttons if the collection is new and no plugin (winfo, minfo, map, fix analyse) has been chosen. 2011-02-11 Ingo Weinzierl <ingo@intevation.de> * 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: New strings for the CollectionViews. * src/main/java/de/intevation/flys/client/client/ui/FLYSWorkspace.java: New. This is the workspace for FLYS. It contains the windows for each collection of the user. * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: New. This window will display a collection. Currently, it has just a title, but no content. * src/main/java/de/intevation/flys/client/client/ui/FLYSView.java: Displays the FLYSWorkspace. * src/main/java/de/intevation/flys/client/client/ui/MainMenu.java: Added a button to open new collections. * src/main/java/de/intevation/flys/client/client/FLYS.java: The FLYSWorkspace is created here. FLYS stores a reference to it and puts the workspace into the FLYSView. Furthermore, there is a new method that creates new Collections. NOTE: Currently, there is no communication with the artifact server, because Collections aren't implemented yet! 2011-02-11 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: Added a new method that returns the UUID of the collection. 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.