view flys-client/ChangeLog @ 17:6cb8aff3cd6b

Enhanced the Collection and its default implementation. flys-client/trunk@1330 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 18 Feb 2011 15:40:04 +0000
parents f8a5f2c5e2b7
children 3c85259bd92a
line wrap: on
line source
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.

http://dive4elements.wald.intevation.org