Mercurial > dive4elements > river
view flys-client/ChangeLog-before-20121018 @ 5079:38581d6bfd6f
doc: corrected parameter name.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Fri, 22 Feb 2013 15:41:34 +0100 |
parents | 79878efbdf07 |
children |
line wrap: on
line source
2012-10-16 Björn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java, src/main/java/de/intevation/flys/client/client/ui/GaugeDischargeCurvePanel.java: Add a new panel to show settings of a gauge discharge curve. 2012-10-16 Björn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/GaugeTree.java: Avoid another possible NullPointerException in GaugeTree 2012-10-16 Björn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/GaugeTree.java: Avoid possible NullPointerException in openOnLocation method. 2012-10-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/fixation/FixationPanel.java: Do not crash when input helper is used in non-Fixation settings. 2012-10-15 Björn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYS.java: Add a CloseClickHandler if a gauge discharge curve is created. Also add an entry in the project list in this case. Fix for part a) and c) in issue #918 2012-10-15 Björn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ProjectList.java: Make updateUserCollections public. It must be called by FLYS to update the project list if a new gauge discharge curve collection is created. 2012-10-15 Björn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/GaugePanel.java, src/main/java/de/intevation/flys/client/client/ui/GaugeTree.java: Open gauge and river info links in a new browser window Fix for issue #918 2012-10-15 Christian Lins <christian.lins@intevation.de> * flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.java, flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, flys-client/src/main/java/de/intevation/flys/client/client/event/StepBackEvent.java, flys-client/src/main/java/de/intevation/flys/client/client/event/StepForwardEvent.java, flys-client/src/main/java/de/intevation/flys/client/client/ui/AbstractUIProvider.java, flys-client/src/main/java/de/intevation/flys/client/client/ui/AutoIntegerPanel.java, flys-client/src/main/java/de/intevation/flys/client/client/ui/BooleanPanel.java, flys-client/src/main/java/de/intevation/flys/client/client/ui/ContinuePanel.java, flys-client/src/main/java/de/intevation/flys/client/client/ui/DatacagePanel.java, flys-client/src/main/java/de/intevation/flys/client/client/ui/DatacageTwinPanel.java, flys-client/src/main/java/de/intevation/flys/client/client/ui/DatacageWidget.java, flys-client/src/main/java/de/intevation/flys/client/client/ui/DemDatacagePanel.java, flys-client/src/main/java/de/intevation/flys/client/client/ui/DigitizePanel.java, flys-client/src/main/java/de/intevation/flys/client/client/ui/DistanceOnlyPanel.java, flys-client/src/main/java/de/intevation/flys/client/client/ui/DistancePanel.java, flys-client/src/main/java/de/intevation/flys/client/client/ui/DoubleArrayPanel.java, flys-client/src/main/java/de/intevation/flys/client/client/ui/DoubleInputPanel.java, flys-client/src/main/java/de/intevation/flys/client/client/ui/DoubleRangePanel.java, flys-client/src/main/java/de/intevation/flys/client/client/ui/GaugePanel.java, flys-client/src/main/java/de/intevation/flys/client/client/ui/GaugeTimeRangePanel.java, flys-client/src/main/java/de/intevation/flys/client/client/ui/IntegerRangePanel.java, flys-client/src/main/java/de/intevation/flys/client/client/ui/LinkSelection.java, flys-client/src/main/java/de/intevation/flys/client/client/ui/LoadingPanel.java, flys-client/src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java, flys-client/src/main/java/de/intevation/flys/client/client/ui/LocationPanel.java, flys-client/src/main/java/de/intevation/flys/client/client/ui/MapSelection.java, flys-client/src/main/java/de/intevation/flys/client/client/ui/ModuleSelection.java, flys-client/src/main/java/de/intevation/flys/client/client/ui/MultiPeriodPanel.java: Squash warnings and TODOs. 2012-10-14 Christian Lins <christian.lins@intevation.de> * flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.java, flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, flys-client/src/main/java/de/intevation/flys/client/client/ui/WspDatacagePanel.java: Improve warning when user does not select a waterlevel calculation (#914). 2012-10-14 Christian Lins <christian.lins@intevation.de> * flys-client/src/main/java/de/intevation/flys/client/client/ui/GaugeTree.java: Fix for NPE that can occur when comparing Double with double. 2012-10-14 Christian Lins <christian.lins@intevation.de> * flys-client/src/main/java/de/intevation/flys/client/client/ui/FLYSWorkspace.java: Fix for NPE in FLYSWorkspace.bringUp() (#933). 2012-10-14 Christian Lins <christian.lins@intevation.de> * flys-client/src/main/java/de/intevation/flys/client/client/ui/CollectionView.java, flys-client/src/main/java/de/intevation/flys/client/client/ui/DatacageTwinPanel.java: More fixes for #897: missing resource exceptions when handling other exceptions. 2012-10-12 Felix Wolfsteller <felix.wolfsteller@intevation.de> * flys-client/src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java: Register new UI provider for Q input per segment. 2012-10-12 Felix Wolfsteller <felix.wolfsteller@intevation.de> * flys-client/src/main/java/de/intevation/flys/client/client/ui/QSegmentedInputPanel.java: New, initial GUI for Q input per segment. 2012-10-12 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/GaugeTimeRangePanel.java: Parse modified date of discharge curves (adapted date format) and display date as human readable string instead of milli seconds since 1970. * src/main/java/de/intevation/flys/client/client/ui/range/DischargeInfoDataSource.java: Set field type from 'INTEGER' to 'TEXT' for start and end date. Is there no type for LONG?? 2012-10-09 Christian Lins <christian.lins@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/LinkSelection.java, src/main/java/de/intevation/flys/client/client/ui/MapSelection.java: Show river map only once. * src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java, src/main/java/de/intevation/flys/client/client/ui/map/MapPanel.java, src/main/java/de/intevation/flys/client/client/ui/map/MapThemePanel.java: Cosmetics. 2012-10-08 Christian Lins <christian.lins@intevation.de> * ../.hgignore: Add OpenLayers to ignore file. * src/main/java/de/intevation/flys/client/client/FLYS.java, src/main/java/de/intevation/flys/client/client/ui/DigitizePanel.java, src/main/java/de/intevation/flys/client/client/ui/ParameterList.java: Handle error conditions more robust (#912 #897). 2012-10-08 Felix Wolfsteller <felix.wolfsteller@intevation.de> * flys-client/src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java: Handle percent_input ui for extreme value state. 2012-10-08 Felix Wolfsteller <felix.wolfsteller@intevation.de> * flys-client/src/main/java/de/intevation/flys/client/client/ui/DoubleInputPanel.java: Documentation, vimline. 2012-10-08 Felix Wolfsteller <felix.wolfsteller@intevation.de> * flys-client/src/main/java/de/intevation/flys/client/server/ChartInfoServiceImpl.java: Documentation. 2012-10-04 Felix Wolfsteller <felix.wolfsteller@intevation.de> * flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/MousePositionPanel.java: Cosmetics, removed unused member, simplified getTransformer. 2012-10-04 Felix Wolfsteller <felix.wolfsteller@intevation.de> * flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: Documentation. 2012-10-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> * flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.java, flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties: i18n for annotations. 2012-10-01 Christian Lins <christian.lins@intevation.de> * flys-client/src/main/java/de/intevation/flys/client/client/ui/Toolbar.java, flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java, flys-client/src/main/java/de/intevation/flys/client/client/ui/map/MapToolbar.java: Setting Toolbar Overflow behaviour to HIDDEN to avoid nasty scrollbars using the Internet Explorer (#761). 2012-10-01 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ParameterMatrix.java: Doc. 2012-10-01 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ParameterMatrixPanel.java: Add missing import of FLYSConstants 2012-10-01 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/FLYSArtifactCreator.java: Add correct debug output for GaugeDischargeCurveArtifact 2012-10-01 Felix Wolfsteller <felix.wolfsteller@intevation.de> Fix issue898 (crash when no param selected). * flys-client/src/main/java/de/intevation/flys/client/client/ui/ParameterMatrixPanel.java (validate): implemented. * flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.java, flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties: i18n for error message. 2012-09-30 Christian Lins <christian.lins@intevation.de> * flys-client/src/main/java/de/intevation/flys/client/client/FLYS.java: Make exception handler more robust regarding unexpected exceptions (#897). 2012-09-29 Christian Lins <christian.lins@intevation.de> * flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ManualPointsEditor.java, flys-client/src/main/java/de/intevation/flys/client/client/ui/fixation/FixPeriodPanel.java flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/PointRecord.java: ManualPointsEditor supports Date x axis values. 2012-09-29 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/ArtifactServiceImpl.java, src/main/java/de/intevation/flys/client/server/FLYSArtifactCreator.java, src/main/java/de/intevation/flys/client/server/ArtifactHelper.java, src/main/java/de/intevation/flys/client/shared/model/GaugeDischargeCurveArtifact.java, src/main/java/de/intevation/flys/client/client/services/ArtifactService.java, src/main/java/de/intevation/flys/client/client/services/ArtifactServiceAsync.java, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYS.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/ui/ParameterList.java, src/main/java/de/intevation/flys/client/client/ui/GaugePanel.java, src/main/java/de/intevation/flys/client/client/ui/GaugeTree.java: Allow to create a discharge curve from a gauge info. Currently the dicharge curve will not be displayed. 2012-09-29 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/DefaultGaugeInfo.java, src/main/java/de/intevation/flys/client/shared/model/GaugeInfo.java, src/main/java/de/intevation/flys/client/server/GaugeOverviewInfoServiceImpl.java: Add river name to the GaugeInfo 2012-09-27 Felix Wolfsteller <felix.wolfsteller@intevation.de> Work on issue724 (i18n in minfo). * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties: Translate data export. 2012-09-27 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/services/ModuleServiceAsync.java, src/main/java/de/intevation/flys/client/client/ui/fixation/FixationPanel.java: Cosmetics, docs. 2012-09-27 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/server/UserServiceImpl.java, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Donate own error message when no users were found. 2012-09-27 Christian Lins <christian.lins@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ManualPointsEditor.java, src/main/java/de/intevation/flys/client/shared/model/DoubleProperty.java, src/main/java/de/intevation/flys/client/shared/model/PropertySetting.java, src/main/java/de/intevation/flys/client/shared/model/PropertyGroup.java: Add "Date" support for Manual Points editor (not finished yet). * src/main/java/de/intevation/flys/client/shared/model/MapMode.java: Add comment. 2012-09-27 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/MapMode.java, src/main/java/de/intevation/flys/client/client/ui/ParameterMatrixPanel.java, src/main/java/de/intevation/flys/client/client/ui/ParameterMatrix.java: Removed trailing whitespace. 2012-09-27 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/webapp/WEB-INF/web.xml: Add servlet mapping for the GaugeOverviewInfoService 2012-09-26 Ingo Weinzierl <ingo@intevation.de> flys/issue897 (MissingResourceException: Cannot find constant '500 The call failed on the server; see server log for details') * src/main/java/de/intevation/flys/client/shared/model/MapMode.java: Readded default constructor. 2012-09-25 Christian Lins <christian.lins@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/fixation/FixPeriodPanel.java: Default from and to dates are now shown with english locale, too (#854). * src/main/java/de/intevation/flys/client/client/ui/chart/ManualPointsEditor.java: Cosmetics. 2012-09-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> Improved fix for issue860 (minfo parameterization in helper pane). * src/main/java/de/intevation/flys/client/client/ui/ParameterMatrixPanel.java (createWidget, createCheckBox): Renamed. Use smartgwt stuff to profit from scrollbars (yay!). * src/main/java/de/intevation/flys/client/client/ui/ParameterMatrixPanel.java: Place ParameterMatrix in helper pane if too long. 2012-09-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> Attempt at issue860 (minfo parameterization in helper pane). * src/main/java/de/intevation/flys/client/client/ui/ParameterMatrixPanel.java: Place ParameterMatrix in helper pane if too long. 2012-09-24 Christian Lins <christian.lins@intevation.de> * src/main/java/de/intevation/flys/client/client/widgets/KMSpinner.java: Issue #853: - Height is now normal again - "Junk" chars are now removed on change 2012-09-24 Bj�rn Ricks <bjoern.ricks@intevation.de> issue846 (GGInA: Auth mechanism ignores URL prefix) * src/main/java/de/intevation/flys/client/server/LoginServlet.java, src/main/java/de/intevation/flys/client/server/GGInAFilter.java, src/main/webapp/login.jsp: Consider the Context Path variable when using urls in the GGInAFilter. 2012-09-24 Felix Wolfsteller <felix.wolfsteller@intevation.de> issue871 (parameterization of flowvelocity loo�s a tiny bit messy). * src/main/java/de/intevation/flys/client/client/ui/ParameterMatrixPanel.java: Show horizontal line between entries. 2012-09-24 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/server/RemoteServiceServlet.java, src/main/java/de/intevation/flys/client/shared/model/IntegerOptionsData.java: Cosmetics, docs. 2012-09-24 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/DefaultGaugeInfo.java: Finally store passed kmup value in member variable. 2012-09-24 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/GaugeOverviewInfoServiceImpl.java, src/main/java/de/intevation/flys/client/shared/model/DefaultRiverInfo.java, src/main/java/de/intevation/flys/client/shared/model/DefaultGaugeInfo.java, src/main/java/de/intevation/flys/client/shared/model/RiverInfo.java, src/main/java/de/intevation/flys/client/shared/model/GaugeInfo.java, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/ui/GaugePanel.java, src/main/java/de/intevation/flys/client/client/ui/GaugeTree.java: Use i18n to calculate the info urls for the gauge overview instead of fechting the urls from the artifact service. 2012-09-22 Christian Lins <christian.lins@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/fixation/FixFunctionSelect.java: Show full function instead of internal name (#873). 2012-09-21 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n strings for bedheight difference calculation. 2012-09-21 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/GaugeTree.java: Open fold for historicalq reference. 2012-09-21 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/GaugeOverviewInfoServiceImpl.java, src/main/java/de/intevation/flys/client/shared/model/DefaultGaugeInfo.java, src/main/java/de/intevation/flys/client/shared/model/GaugeInfo.java: Add the official gauge number to the GaugeInfo class. 2012-09-21 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/GaugeTree.java, src/main/java/de/intevation/flys/client/client/ui/GaugePanel.java: Refactor GaugeTree into its own java file. Due to the folding logic in the GaugeTree the code became quite lage. Therefore it is better preserved in its own file. 2012-09-21 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/GaugePanel.java: Additional refactoring to avoid code duplication and fixing reading double value from locations DataItem object. Also add another code path for location_distance winfo state. 2012-09-21 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/GaugePanel.java: Refactor to avoid code duplication 2012-09-21 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/ui/GaugePanel.java: Add html links to the additional gauge and river info pages. 2012-09-21 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/GaugeOverviewInfoServiceImpl.java, src/main/java/de/intevation/flys/client/shared/model/DefaultRiverInfo.java, src/main/java/de/intevation/flys/client/shared/model/DefaultGaugeInfo.java, src/main/java/de/intevation/flys/client/shared/model/RiverInfo.java, src/main/java/de/intevation/flys/client/shared/model/GaugeInfo.java: Extend GaugeInfo and RiverInfo to store also the http url for additional info. 2012-09-21 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/GaugePanel.java, src/main/java/de/intevation/flys/client/client/ui/ParameterList.java: Open and close gauge tree folds that correspond to the selected WINFO calculation. 2012-09-21 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/DoubleArrayPanel.java: Fix NullPointerException on not available list 2012-09-20 Christian Lins <christian.lins@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/ui/fixation/FixMultiPeriodPanel.java, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: i18n for FixMultiPeriodPanel (#872). 2012-09-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/GaugePanel.java: Prevent AIOOB exception. 2012-09-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/GaugePanel.java: Removed superfluous import. 2012-09-19 Christian Lins <christian.lins@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/ui/fixation/FixGaugeSelectPanel.java, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: i18n (#858) 2012-09-19 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/GaugeOverviewInfoServiceImpl.java, src/main/java/de/intevation/flys/client/shared/model/DefaultGaugeInfo.java, src/main/java/de/intevation/flys/client/shared/model/GaugeInfo.java, src/main/java/de/intevation/flys/client/client/ui/GaugePanel.java: Use the wstunit from the river as unit for the Pegelnullpunkt. 2012-09-19 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ParameterList.java: Don't display the GaugePanel if no river is selected. 2012-09-19 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/DefaultArtifactDescription.java: Fix NullPointerException when going back in WINFO artifact to the river selection. 2012-09-19 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/ui/GaugePanel.java: Add locale aware formatting of the gauge values. Don't reload the gauges if the river doesn't change. Correctly handle kmup of the river. 2012-09-19 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ParameterList.java: Improve handling of the GaugePanel and don't delete members of the GaugePanel. 2012-09-19 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/GaugeOverviewInfoServiceImpl.java, src/main/java/de/intevation/flys/client/shared/model/DefaultGaugeInfo.java, src/main/java/de/intevation/flys/client/shared/model/GaugeInfo.java: Add station information to the gauges. 2012-09-19 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/webapp/FLYS.css, src/main/java/de/intevation/flys/client/client/ui/GaugePanel.java: Get a working GaugeInfo solution with scrolling adjustments if gauge info elements are folded in an out. 2012-09-15 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Removed trailing whitespace. 2012-09-17 Ingo Weinzierl <ingo@intevation.de> Tagged RELEASE 2.9.1 2012-09-17 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added missing i18n strings for minfo state description. 2012-09-16 Christian Lins <christian.lins@intevation.de> * src/main/java/de/intevation/flys/client/client/widgets/KMSpinnerChangeListener.java (NEW), src/main/java/de/intevation/flys/client/client/widgets/KMSpinner.java (NEW), src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java, src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: Refactored some KMSpinner code. KMSpinner has now a human-readable size (#853). 2012-09-15 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/DefaultRiverInfo.java, src/main/java/de/intevation/flys/client/shared/model/DefaultGaugeInfo.java, src/main/java/de/intevation/flys/client/client/ui/ParameterList.java, src/main/java/de/intevation/flys/client/client/ui/GaugePanel.java, src/main/java/de/intevation/flys/client/client/services/GaugeOverviewInfoService.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Removed trailing whitespace and superfluous imports. 2012-09-14 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/ui/ParameterList.java, src/main/java/de/intevation/flys/client/client/ui/GaugePanel.java: Add first draft for the gauge overview info ui 2012-09-14 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/client/services/GaugeOverviewInfoService.java, src/main/java/de/intevation/flys/client/client/services/GaugeOverviewInfoServiceAsync.java, src/main/java/de/intevation/flys/client/shared/model/GaugeInfo.java, src/main/java/de/intevation/flys/client/shared/model/RiverInfo.java, src/main/java/de/intevation/flys/client/shared/model/DefaultGaugeInfo.java, src/main/java/de/intevation/flys/client/shared/model/DefaultRiverInfo.java, src/main/java/de/intevation/flys/client/server/GaugeOverviewInfoServiceImpl.java: Implement a service to handle the gauge info 2012-09-13 Christian Lins <christian.lins@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java, src/main/java/de/intevation/flys/client/client/ui/range/LocationsTable.java: Adding "from" and "to" in table columns with the green/red marker icons (#808). 2012-09-13 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties: Translated german strings. 2012-09-13 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added 'main_channel' and 'total_channel' strings. * src/main/java/de/intevation/flys/client/client/ui/ParameterMatrixPanel.java: Use the correct label for the UI. 2012-09-13 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added strings for bed quality chart and export. 2012-09-13 Christian Lins <christian.lins@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ProjectList.java: Scrolling long Project lists is now more robust (#757), although the search box is now part of the scrolling pane. 2012-09-13 Christian Lins <christian.lins@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Adding string for error_no_modules_found (#855). 2012-09-13 Christian Lins <christian.lins@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/ui/chart/ManualPointsEditor.java: Cosmetics. 2012-09-12 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/minfo/BedCampaignChart.java, src/main/java/de/intevation/flys/client/client/ui/minfo/BedloadCampaignChart.java: New. Container for overview charts. * src/main/java/de/intevation/flys/client/server/BedKMChartServiceImpl.java, src/main/java/de/intevation/flys/client/server/BedloadKMChartServiceImpl.java: New. Services for overview charts. * src/main/java/de/intevation/flys/client/client/ui/ParameterMatrix.java: Show i18n strings in column titles. * src/main/java/de/intevation/flys/client/client/ui/minfo/BedMultiPeriodPanel.java: New. UI provider that allows multiple period input and displays the overview charts. * src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java: Added new ui provider. * src/main/webapp/WEB-INF/web.xml: Added new services. * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n strings. 2012-09-12 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/StringOptionsData.java: Fixed constructor. 2012-09-11 Christian Lins <christian.lins@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Fix for line label text in Delta W(t) chart (#837). 2012-09-10 Christian Lins <christian.lins@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java: Minimal fix for 'Transparency' combobox appearence (#840). 2012-09-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> * pom.xml: Java 1.5 -> 1.6 2012-09-09 Christian Lins <christian.lins@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Rename attribute 'alpha' to 'transparency' which now represents the transparency percentage instead raw rgba alpha value. StyledEditorWindow can now handle this transparency attribute. 2012-09-09 Christian Lins <christian.lins@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Add 'error_update_collection_attribute' string (#843). 2012-09-09 Christian Lins <christian.lins@intevation.de> * src/main/java/de/intevation/flys/client/server/UserServiceImpl.java: Remove blank line. * src/main/java/de/intevation/flys/client/client/FLYS.java: Catch MissingResourceException on unexpected server exceptions (#843). 2012-09-08 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/auth/plain/Authenticator.java: Reverted functional change from clins last commit. * src/main/java/de/intevation/flys/client/server/LoginServlet.java, src/main/java/de/intevation/flys/client/server/auth/AuthenticationFactory.java, src/main/java/de/intevation/flys/client/server/auth/UserClient.java: Removed trailing whitespace. 2012-09-08 Christian Lins <christian.lins@intevation.de> * src/main/java/de/intevation/flys/client/server/RemoteServiceServlet.java, src/main/java/de/intevation/flys/client/server/LoginServlet.java, src/main/java/de/intevation/flys/client/server/auth/plain/Authenticator.java, src/main/java/de/intevation/flys/client/server/auth/AuthenticationFactory.java, src/main/java/de/intevation/flys/client/server/auth/UserClient.java, src/main/java/de/intevation/flys/client/client/FLYS.java: Cosmetics, add robustness checks etc. 2012-09-07 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/UserServiceImpl.java, src/main/java/de/intevation/flys/client/server/auth/UserClient.java: Be more defensive about fetchimg users from session. 2012-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de> Improved panning in TimeseriesCharts (issue715). * src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java (computeZoom): Prevent confusion of scoped 'zoom' variable. (divide): Cast to double, we do not want long precision divisions. 2012-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/ChartInfo.java, src/main/java/de/intevation/flys/client/client/FLYS.java, src/main/java/de/intevation/flys/client/client/ui/FLYSView.java, src/main/java/de/intevation/flys/client/client/ui/chart/MousePositionPanel.java, src/main/java/de/intevation/flys/client/client/ui/OutputTab.java, src/main/java/de/intevation/flys/client/client/ui/CollectionView.java, src/main/java/de/intevation/flys/client/client/ui/FLYSWorkspace.java, src/main/java/de/intevation/flys/client/client/ui/DatacagePairWidget.java: Cosmetics, docs. 2012-09-04 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/UserServiceImpl.java: Refactor getCurrentUser to return the logged in user and not the first user from the artifact database. 2012-09-04 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/RemoteServiceServlet.java, src/main/java/de/intevation/flys/client/server/RiverServiceImpl.java, src/main/java/de/intevation/flys/client/client/services/RemoteServiceServlet.java, src/main/java/de/intevation/flys/client/server/ModuleServiceImpl.java: Move RemoteServiceServlet to server package. 2012-09-07 Ingo Weinzierl <ingo@intevation.de> Tagged module as '2.9'. 2012-09-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java, src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java, src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java, src/main/java/de/intevation/flys/client/client/ui/RadioPanel.java, src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Removed trailing whitespace. 2012-09-04 Felix Wolfsteller <felix.wolfsteller@intevation.de> Fix for issue63. * src/main/java/de/intevation/flys/client/client/ui/LinkSelection.java: Place map image in helper section. 2012-09-04 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/auth/plain/Authenticator.java: Add some debug which file will be used for local user authentification 2012-09-04 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/webapp/WEB-INF/features.xml: Add features for flys_wsa_schweinfurt role 2012-09-04 Raimund Renkert <raimund.renkert@intevation.de> Issue 808. * src/main/java/de/intevation/flys/client/client/ui/wq/QDTable.java: Added new row for single selection and set field titles. * src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: Show the single selection row on init. * src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Updated i18n strings. 2012-09-04 Raimund Renkert <raimund.renkert@intevation.de> Issue 664. * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java: Made old value an i18n formatted string. 2012-09-04 Christian Lins <christian.lins@intevation.de> * src/main/java/de/intevation/flys/client/server/RiverServiceImpl.java, src/main/java/de/intevation/flys/client/server/ModuleServiceImpl.java, src/main/java/de/intevation/flys/client/client/services/RemoteServiceServlet.java: Add missing imports and fix package declaration. 2012-09-04 Raimund Renkert <raimund.renkert@intevation.de> Issue 791. * src/main/java/de/intevation/flys/client/client/ui/MultipleLocationPanel.java: Do not allow the same values in reference and target location. * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n strings. 2012-09-04 Felix Wolfsteller <felix.wolfsteller@intevation.de> Partial fix for issue820. * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Change i18n (middle height -> middle depth). 2012-09-03 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartPropertiesEditor.java: Do not show labels in logo selection combobox. 2012-09-03 Felix Wolfsteller <felix.wolfsteller@intevation.de> Show logos in selectbox in chart properties such that user gets a visual idea of what she selects. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartPropertiesEditor.java: Show icons in select box that displays the chosen logo. * src/main/webapp/images/logo-intevation.png, src/main/webapp/images/logo-bfg.gif: Two exemplary logos (copies in flys-artifacts). 2012-09-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/ModuleServiceImpl.java, src/main/java/de/intevation/flys/client/client/ui/RadioPanel.java, src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java, src/main/java/de/intevation/flys/client/client/ui/minfo/CheckboxPanel.java, src/main/java/de/intevation/flys/client/client/ui/minfo/BedHeightsDatacagePanel.java: Removed superfluous imports. 2012-09-01 Christian Lins <christian.lins@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java, src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: Overflow for Toolbars is now HIDDEN to avoid nasty scrollbars (#761). 2012-09-01 Christian Lins <christian.lins@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/ui/DatacagePairWidget.java, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Change button title in DatacagePairWidget (#746). 2012-08-31 Christian Lins <christian.lins@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java, src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java: ThemePanels are now resizable (fix for #750). 2012-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de> Maybe sqashing issue531, calling projectlists superclasses constructor. * src/main/java/de/intevation/flys/client/client/ui/ProjectList.java: Call super() constructor. 2012-08-31 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ModuleSelection.java: Set the default value of the RadioGroupItem if a module is selected. 2012-08-31 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/ModuleServiceImpl.java, src/main/java/de/intevation/flys/client/client/services/ModuleService.java: Load the list of modules from the flys artifact server. Also respect the selected attribute of a module. 2012-08-31 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/DefaultModule.java, src/main/java/de/intevation/flys/client/client/services/ModuleService.java: Add isSelected method to Module classes. 2012-08-31 Raimund Renkert <raimund.renkert@intevation.de> MINFO: Added new UI provider for bed quality calculation. * src/main/java/de/intevation/flys/client/client/ui/minfo/CheckboxPanel.java: New. UI provider for a list of checkboxes. * src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java: Added new UI provider. 2012-08-31 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java: Use river data in all states not only winfo. 2012-08-31 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ExportPanel.java: Hide the W/Q AT export button in fix analysis parameter tab. 2012-08-31 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/auth/UserClient.java: User xml namespace for XPath attribute query. 2012-08-31 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/webapp/WEB-INF/web.xml: Add servlet settings for ModuleService 2012-08-30 Christian Lins <christian.lins@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java, src/main/java/de/intevation/flys/client/client/ui/FLYSWorkspace.java: New projects are now initially maximized to prevent IE-layout issue (#755). 2012-08-30 Christian Lins <christian.lins@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/map/GetFeatureInfoWindow.java: Workaround for #775 (manually set window size to 500x500 pixels) * src/main/java/de/intevation/flys/client/client/ui/WspDatacagePanel.java: Prevent NPE 2012-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartPropertiesEditor.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: i18n for logo placement. 2012-08-29 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ModuleSelection.java: Load modules from the ModuleService instead of using hardcoded strings. 2012-08-29 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/ModuleServiceImpl.java: Hardcode German translations for module names until real translations are available. 2012-08-29 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/webapp/WEB-INF/features.xml: Add roles and features for GGinA 2012-08-29 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/client/services/ModuleServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/ModuleService.java, src/main/java/de/intevation/flys/client/server/ModuleServiceImpl.java: Added service to list available modules for a user. 2012-08-29 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/DefaultModule.java, src/main/java/de/intevation/flys/client/shared/model/Module.java: Added class representation of a module artifact. 2012-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartPropertiesEditor.java: Special chart properties should trigger different ui (logo placement box). * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n strings for split logo-placement properties in charts. 2012-08-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartPropertiesEditor.java: Special chart properties should trigger different ui (logo placement box). * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n strings for logo-placements in charts. 2012-08-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartPropertiesEditor.java: Special chart properties should trigger different ui (logo select box). 2012-08-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added first i18n strings for logo-inclusion in charts. 2012-08-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/server/CollectionHelper.java, src/main/java/de/intevation/flys/client/shared/model/StringProperty.java, src/main/java/de/intevation/flys/client/shared/model/OutputSettings.java, src/main/java/de/intevation/flys/client/shared/model/FacetRecord.java: Cosmetics. 2012-08-28 Raimund Renkert <raimund.renkert@intevation.de> MINFO: Added UI for minfo differences calculation. * src/main/java/de/intevation/flys/client/client/ui/minfo, src/main/java/de/intevation/flys/client/client/ui/minfo/BedHeightsDatacagePanel.java, src/main/java/de/intevation/flys/client/client/ui/RadioPanel.java: New. UI provider for states in minfo differences calculation. * src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java: Added new UI provider. * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n strings. 2012-08-24 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/auth/UserClient.java: Use new find-user REST interface to check if a user already exists in the database or a new user must be created. 2012-08-24 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/auth/UserClient.java: Send account data to REST interface. 2012-08-24 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/auth/UserClient.java: Don't use XPath Query to get attribute of a XML Node 2012-08-24 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/auth/DefaultUser.java, src/main/java/de/intevation/flys/client/server/auth/was/Response.java, src/main/java/de/intevation/flys/client/server/auth/was/User.java, src/main/java/de/intevation/flys/client/server/auth/User.java: Add account information to client user classes. Use the WAS/GGInA assertion NameIdentifier element for the account name. For text authentication user username also as account name. 2012-08-24 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/LoginServlet.java: Add debug output if a database user will be created. 2012-08-23 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/UserServiceImpl.java: Avoid using XPath queries for getting attributes of a node. 2012-08-22 Christian Lins <christian.lins@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYS.java, src/main/java/de/intevation/flys/client/client/ui/ProjectList.java, src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Delete empty project after closing the CollectionView (#785). 2012-08-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/ExportServiceImpl.java: Removed superfluous import. Removed some inner whitespace. Made debug output conditional. 2012-08-17 Raimund Renkert <raimund.renkert@intevation.de> Added AT file export to FixAnalysis W/Q. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java: New image link for AT export in W/Q tab. * src/main/java/de/intevation/flys/client/client/ui/chart/NaviChartOutputTab.java: Update link url on km change. * src/main/java/de/intevation/flys/client/server/ExportServiceImpl.java: Add the km to the request document. * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n string for tooltip. 2012-08-16 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/ProxyServlet.java: Shortend lines to 80 chars. Made debug outout conditional. Use block copy instead of tight byte wise loop. 2012-08-16 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/ProxyServlet.java: Implement a ProxyServlet to be able to restrict the access to the mapserver too. All queries to the provided map services should go throught this new ProxyServlet. Currently the ProxyServlet can only handle HTTP GET requests. 2012-08-16 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/RiverServiceImpl.java: Replaced another attribute fetching XPath with a simple DOM getAttributeNS() call. 2012-08-15 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/RiverServiceImpl.java: Avoid NullPointerException if user authetication is deactivated. If user Authentication is deactivated all rivers are returned. 2012-08-15 Raimund Renkert <raimund.renkert@intevation.de> Issue 752. Location input label. * src/main/java/de/intevation/flys/client/client/ui/MultipleLocationPanel.java, src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java: Added getter for label string. * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties: Added i18n string for single location label. 2012-08-15 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/RiverServiceImpl.java: Only return rivers that the user is allowed to see. Evaluate the allowed features of the current logged in user and hide rivers which aren't mentioned in the features list. 2012-08-15 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/client/services/RemoteServiceServlet.java: Implement an extended GWT RemoteServiceServlet to be able to get the current logged in user easily. 2012-08-13 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/auth/DefaultUser.java, src/main/java/de/intevation/flys/client/server/features/XMLFileFeatures.java: Removed superfluous imports. 2012-08-08 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/auth/was/Response.java: Add debug log of a successfull authentification inclusive the corresponding features of the authenticated user. 2012-08-08 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/webapp/WEB-INF/features.xml: Add example features for GGinA/WAS role flys_bfg. 2012-08-08 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/features/XMLFileFeatures.java: Don't use a xml namespace to get the "name" attribute of a role. 2012-08-08 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/auth/was/Authenticator.java, src/main/java/de/intevation/flys/client/server/auth/was/Response.java, src/main/java/de/intevation/flys/client/server/auth/was/User.java: Implement Features handling for WAS authentication. 2012-08-08 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/LoginServlet.java, src/main/java/de/intevation/flys/client/server/auth/plain/Authenticator.java, src/main/java/de/intevation/flys/client/server/auth/DefaultUser.java, src/main/java/de/intevation/flys/client/server/auth/was/Authenticator.java, src/main/java/de/intevation/flys/client/server/auth/Authenticator.java, src/main/java/de/intevation/flys/client/server/auth/User.java, src/main/java/de/intevation/flys/client/server/GGInAFilter.java: Refactor Authentication to allow to pass the Freatures to the user class. 2012-08-09 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/features/XMLFileFeatures.java: Used HashMap instead of Hashtable. Limit to 80 chars per line. 2012-08-09 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/meta/Converter.java: Removed trailing whitespace. 2012-08-08 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/features/XMLFileFeatures.java: Always close FileInputStream, improve for loops and avoid XPath for getting a xml attribute. 2012-08-08 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/CapabilitiesParser.java, src/main/java/de/intevation/flys/client/server/BaseServlet.java, src/main/webapp/WEB-INF/web.xml: Remove the obsolete BaseServlet. Initializing of logging is now handled by the BaseServletContextListener class which is loaded before any Servlet. 2012-08-08 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/features/FeatureServletContextListener.java, src/main/java/de/intevation/flys/client/server/BaseServletContextListener.java, src/main/webapp/WEB-INF/web.xml: Rename and move FeatureServletContextListener. 2012-08-08 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/features/FeatureServletContextListener.java, src/main/webapp/WEB-INF/web.xml: Implement a ServletContextListener to initialize the Fearures from a xml file. With the context parameter "features-file" in src/main/webapp/WEB-INF/web.xml a xml file to load features from can be specified. The FeatureServletContextListener class also initializes the logging now because it is loaded before the BaseServlet. 2012-08-08 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/features/XMLFileFeatures.java, src/main/java/de/intevation/flys/client/server/features/FeaturesNamespaceContext.java, src/main/java/de/intevation/flys/client/server/features/Features.java, src/main/webapp/WEB-INF/features.xml: Implementation of a feature representation. The XMLFileFeatures class can be used to load a feature xml file (src/main/webapp/WEB-INF/features.xml) and create a map of roles to a list of features. 2012-08-08 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/server/meta/Converter.java: Cosmetics, reordered code. * src/main/java/de/intevation/flys/client/client/ui/DatacageWidget.java: Show tooltip for rows in datacage widget. 2012-08-08 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/server/meta/Converter.java: Documentation added, use static map instead of population in constructor. 2012-07-30 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/fixation/FixQSelectPanel.java, src/main/java/de/intevation/flys/client/client/ui/ProjectList.java: Removed superfluous imports. 2012-07-27 Ingo Weinzierl <ingo@intevation.de> Tagged module as '2.8.1'. 2012-07-26 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/ChartMode.java: Let 'fix_vollmer_wq_curve" Output also use the NaviChartOutputTab. * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added titles for the 'fix_vollmer_wq_curve' Output tab. 2012-07-26 Christian Lins <christian.lins@intevation.de> * src/main/java/de/intevation/flys/client/server/StyleHelper.java, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java: Merge point/line label styles. Add new style options for point/line label background. 2012-07-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/DefaultArtifactDescription.java: Accept differing state data names of FixationArtifacts. 2012-07-24 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/Artifact.java, src/main/java/de/intevation/flys/client/shared/model/FixAnalysisArtifact.java, src/main/java/de/intevation/flys/client/client/FLYS.java, src/main/java/de/intevation/flys/client/client/ui/ProjectList.java: Cosmetics. 2012-07-24 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ProjectList.java: Respect factory of cloned artifact when cloning. 2012-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/UserCollectionsServiceImpl.java, src/main/java/de/intevation/flys/client/server/ChartInfoServiceImpl.java, src/main/java/de/intevation/flys/client/server/ArtifactDescriptionFactory.java, src/main/java/de/intevation/flys/client/server/RiverServiceImpl.java, src/main/java/de/intevation/flys/client/client/ui/fixation/FixGaugeSelectPanel.java, src/main/java/de/intevation/flys/client/client/ui/fixation/FixLocationPanel.java, src/main/java/de/intevation/flys/client/client/ui/fixation/FixMultiPeriodPanel.java, src/main/java/de/intevation/flys/client/client/ui/fixation/FixQSelectPanel.java, src/main/java/de/intevation/flys/client/client/ui/fixation/FixEventSelect.java, src/main/java/de/intevation/flys/client/client/ui/fixation/FixPeriodPanel.java, src/main/java/de/intevation/flys/client/client/ui/PeriodPanel.java, src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java, src/main/java/de/intevation/flys/client/client/ui/map/WMSLayersTree.java, src/main/java/de/intevation/flys/client/client/ui/DoubleInputPanel.java, src/main/java/de/intevation/flys/client/client/ui/MultiPeriodPanel.java: Removed some superfluous casts. 2012-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/webapp/WEB-INF/stylesheets/fixoverview2html.xsl: Catch the case that a previous gauge is before the start of the events. This led to a broken layout. 2012-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/webapp/WEB-INF/stylesheets/fixoverview2html.xsl: Bring in sync with transformation in flys-client. 2012-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/webapp/WEB-INF/stylesheets/fixoverview2html.xsl: Bring in sync with transformation in flys-client. Current weakness: Only english and german locales are supported. * src/main/java/de/intevation/flys/client/server/FixingsOverviewServiceImpl.java: Depending on client given locale call transformation with locale "de" or "en". 2012-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/webapp/WEB-INF/stylesheets/fixoverview2html.xsl: Merged changes from transformation in flys-artifacts: Render names to the gauges into the headline. Full names and spread are displayed as tooltips. 2012-07-20 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/OverviewOutputTab.java: Removed the export buttons for SVG and PDF; those exports aren't implemented on server side yet. 2012-07-20 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/sq/SQCampaignChart.java: New subclass of VLayout that displays a chart with field campaigns. The code is copied from SQMultiPeriodPanel. * src/main/java/de/intevation/flys/client/client/ui/sq/SQMultiPeriodPanel.java: Moved the code to display the field campaign charts into SQCampaignChart class. * src/main/java/de/intevation/flys/client/client/ui/sq/SQPeriodPanel.java: New UIProvider that allows the input of a time period; the helper panel displays a chart with field campaigns. * src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java: Registered SQPeriodPanel as new UIProvider. 2012-07-20 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java: Added a new UI provider that supports input of a time period (without any helper panel). 2012-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: Removed superfluous import. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java: Removed trailing whitespace. 2012-07-20 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java: Made getChartOutputTab() protected. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: Moved creation of a ChartToolbar and a ChartThemePanel from constructor to own methods which enables subclasses to override those. * src/main/java/de/intevation/flys/client/client/ui/chart/OverviewOutputTab.java: Override createThemePanel() and createChartToolbar() of parent class. Both methods return instances of minimalistic implementations of a ChartThemePanel and ChartToolbar. In addition, the overview chart is fetched as single image. 2012-07-19 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/DoubleInputPanel.java: Read default value from Data item; set textfield to this value of a default value is existing. 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/FixAnalysisArtifact.java, src/main/java/de/intevation/flys/client/shared/model/DoubleProperty.java, src/main/java/de/intevation/flys/client/client/ui/fixation/FixGaugeSelectPanel.java, src/main/java/de/intevation/flys/client/client/ui/chart/NaviChartOutputTab.java: Use more idiomatic Java when parsing doubles and ints. 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> * ChangeLog: Removed remains from former conflict. 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/fixation/FixFunctionSelect.java src/main/java/de/intevation/flys/client/client/ui/chart/NaviChartOutputTab.java: Removed superfluous imports. * src/main/java/de/intevation/flys/client/client/ui/fixation/FixationPanel.java, src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Removed trailing whitespace. 2012-07-19 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java: Register (to-be-implemented) fix.qselect_panel UIProvider. 2012-07-19 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java: Prepare for bandwidthcolor, and preset bandwidth with previously entered values. 2012-07-19 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java, src/main/java/de/intevation/flys/client/client/ui/WspDatacagePanel.java: Cosmetics. 2012-07-19 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/fixation/FixationPanel.java, src/main/java/de/intevation/flys/client/client/ui/chart/NaviChartOutputTab.java: Input fields for chart navigation now use the correct i18n number formats. 2012-07-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/webapp/WEB-INF/stylesheets/fixoverview2html.xsl: Generate only legend entries for existing discharge sectors. 2012-07-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/fixation/FixGaugeSelectPanel.java: Replaced discharge sectors with more human readable labels. 2012-07-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/webapp/WEB-INF/stylesheets/fixoverview2html.xsl: Added legend at bottom of overview table. 2012-07-18 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/fixation/FixFunctionSelect.java: New. UI provider for function selection in fix analysis. This UI provider shows the overview and chart in the helper panel. * src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java: Use the new UI provider in function select state. 2012-07-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartPropertiesEditor.java: Populate double type theme attributes with already set values. 2012-07-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartPropertiesEditor.java: Code compres Code compression. 2012-07-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java: Improve validation. 2012-07-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartPropertiesEditor.java, src/main/java/de/intevation/flys/client/client/ui/chart/ManualWSPEditor.java: Cosmetic compression. 2012-07-18 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Added public methods to lock and unlock the CollectionView. Locking the view means, a semi transparent layer prevents the user to use the control elements in the CollectionView. In addition to the semi transparent layer, a progress image is displayed. * src/main/java/de/intevation/flys/client/client/ui/ParameterList.java: Lock the CollectionView when StepBack and StepForward events are fired. Unlock the screen on success or failure. 2012-07-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java: Handle upcoming "double" theme attribute type. 2012-07-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/utils/DoubleValidator.java, src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java, src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: Cosmetics. 2012-07-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/auth/DefaultUser.java, src/main/java/de/intevation/flys/client/client/ui/chart/OverviewOutputTab.java: Removed trailing whitespace. 2012-07-17 Felix Wolfsteller <felix.wolfsteller@intevation.de> * main/java/de/intevation/flys/client/client/FLYSConstants.java, main/java/de/intevation/flys/client/client/FLYSConstants.properties, main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n strings for bandwidth. * src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java: Include bandwidth field. 2012-07-17 Christian Lins <christian.lins@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java: Correct height of ChartToolbar to 35 pixels. * src/main/java/de/intevation/flys/client/client/ui/map/GetFeatureInfoWindow.java: Make use of generics and cosmetics. * src/main/java/de/intevation/flys/client/client/ui/map/FloodMap.java, src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java, src/main/java/de/intevation/flys/client/client/ui/map/MapPanel.java: ThemePanel toggle stuff. * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Increase default size as the toolbar has grown as well. * pom.xml: Add commons-codec dependency. 2012-07-13 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/server/MetaDataServiceImpl.java, src/main/java/de/intevation/flys/client/server/AdvanceServiceImpl.java, src/main/java/de/intevation/flys/client/client/ui/ParameterList.java: Cosmetics, docs. 2012-07-16 Ingo Weinzierl <ingo@intevation.de> * Tagged module as '2.8'. 2012-07-15 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java, src/main/java/de/intevation/flys/client/server/auth/Authentication.java, src/main/java/de/intevation/flys/client/shared/model/DefaultTheme.java, src/main/java/de/intevation/flys/client/shared/model/FacetRecord.java, src/main/java/de/intevation/flys/client/shared/model/Theme.java, src/main/java/de/intevation/flys/client/shared/model/DefaultData.java: Removed same package imports. 2012-07-13 Felix Wolfsteller <felix.wolfsteller@intevation.de> * main/java/de/intevation/flys/client/client/FLYSConstants.java, main/java/de/intevation/flys/client/client/FLYSConstants.properties, main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n strings for officiallines. 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/webapp/WEB-INF/web.xml: Separate two context params correctly. * src/main/java/de/intevation/flys/client/server/auth/was/ServiceException.java, src/main/java/de/intevation/flys/client/server/auth/AuthenticationException.java: Removed imports. * src/main/java/de/intevation/flys/client/server/auth/plain/Authenticator.java, src/main/java/de/intevation/flys/client/server/auth/AuthenticationFactory.java: Added debug output. 2012-07-13 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/LoginServlet.java, src/main/java/de/intevation/flys/client/server/auth/UserClient.java: Add UserClient class to handle REST communication for user related interfaces. If a logged in user is not known add him to the database via the REST protocol. 2012-07-13 Christian Lins <christian.lins@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/ui/MainMenu.java, src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java, src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java, src/main/java/de/intevation/flys/client/client/ui/map/MapToolbar.java, src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java, src/main/java/de/intevation/flys/client/client/ui/CollectionView.java, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Add "Manage Themes" button to ChartToolbar and MapToolbar to toggle themes window. * pom.xml: Remove gwt-dev from dependencies as it contains an ancient Apache Commons Codec version and add a recent version of it as separate dependency. This fixes the nasty eclipse compile errors with Base64 class etc. 2012-07-13 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/OverviewOutputTab.java: Switched row count and column count. 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/auth/DefaultUser.java, src/main/java/de/intevation/flys/client/server/auth/was/Response.java: Removed superfluous imports. 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/auth/plain/Authenticator.java, src/main/java/de/intevation/flys/client/server/auth/DefaultUser.java: Cosmetics. 2012-07-13 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/auth/User.java: Add javadoc for the user class. 2012-07-13 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/auth/User.java, src/main/java/de/intevation/flys/client/server/auth/plain/Authenticator.java src/main/java/de/intevation/flys/client/server/auth/DefaultUser.java src/main/java/de/intevation/flys/client/server/auth/was/Response.java src/main/java/de/intevation/flys/client/server/auth/was/User.java: Implement getting a list of roles from a logged in user. 2012-07-13 Raimund Renkert <raimund.renkert@intevation.de> * main/java/de/intevation/flys/client/server/CollectionHelper.java: Added new output mode 'overview' and added type to chart mode. * main/java/de/intevation/flys/client/shared/model/ChartMode.java: Added type to constructor. * main/java/de/intevation/flys/client/shared/model/OverviewMode.java: New. Output mode for chart overviews. * main/java/de/intevation/flys/client/client/ui/chart/OverviewOutputTab.java: New. Output tab for chart overviews. * main/java/de/intevation/flys/client/client/FLYSConstants.java, main/java/de/intevation/flys/client/client/FLYSConstants.properties, main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n strings. 2012-07-13 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/auth/was/Request.java: Removed System.out.println debug statement for the request uri. 2012-07-13 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/webapp/WEB-INF/web.xml: Removed trailing whitespace. 2012-07-13 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/GGInAFilter.java: Implement re-authentication if the user (ticket) has expired. Every "ticket" in GGInA has an end date. Therefore send a new authentication request if the current date is after the end date. 2012-07-13 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/LoginServlet.java, src/main/webapp/WEB-INF/web.xml: Use servlet context to specify the authentication method. Using the servlet context allows to set the method globally and not only for one servlet. 2012-07-13 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/webapp/FLYS.css: Add styles for the authentication error at the login page. 2012-07-13 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/LoginServlet.java: Also log an authentication failure. Several reasons could exist why an authentication will fail. Mostly because the user did provide wrong credentials but also because the GGInA protocol has changed unexpectedly. Therefore also log the error. 2012-07-13 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/webapp/login.jsp, src/main/java/de/intevation/flys/client/server/LoginServlet.java: Display exception details to the user if an authentication fails. 2012-07-13 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/auth/Authentication.java, src/main/java/de/intevation/flys/client/server/auth/was/Response.java: Extend Authentication getUser method to throw an AuthenticationException. Also the Response constructor now throws an IOException. 2012-07-13 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/fly/client/server/auth/was/User.java: Derive User class from new de.intevation.fly.client.server.auth.DefaultUser class and implement hasExpired method via SAML Assertion. 2012-07-12 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/webapp/WEB-INF/web.xml: Set artifact server port back to 8181 2012-07-12 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/GGInAFilter.java: Cast session user to abstract type not WAS specific. 2012-07-12 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/fixation/FixationPanel.java: Removed superfluous import. 2012-07-12 Ingo Weinzierl <ingo@intevation.de> flys/issue698 (FLYS-Client: Release-Version verschluckt Clicks auf Stepback) * src/main/java/de/intevation/flys/client/shared/model/FixFilter.java: New. The code of this class was moved from FixationPanel to FixFilter. * src/main/java/de/intevation/flys/client/shared/model/FixAnalysisArtifact.java: Adapted the reference to FixFilter which had been an inner class of FixationPanel before. * src/main/java/de/intevation/flys/client/client/ui/fixation/FixationPanel.java: Moved the FixFilter code to an own top level class in the 'shared' part. 2012-07-11 Christian Lins <christian.lins@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Add showpointlabel stlye attribute. 2012-07-11 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/auth/plain/Authenticator.java: Authenticates against simple text file. Specified by env variable FLYS_USER_FILE or system property flys.user.file . File format: One user per line, '#' at line start means comment. <user>\t<password>\t<role> * src/main/java/de/intevation/flys/client/server/auth/DefaultUser.java: Simple user implementation. * src/main/java/de/intevation/flys/client/server/auth/AuthenticationFactory.java: Check for 'plain' as authentication method. * src/main/java/de/intevation/flys/client/server/auth/User.java: Expires return boolean instead of Boolean, now. * src/main/java/de/intevation/flys/client/server/auth/was/User.java: Adjusted * src/main/java/de/intevation/flys/client/server/auth/was/Response.java: Added override annotation. * src/main/java/de/intevation/flys/client/server/auth/Authenticator.java: Removed same package imports. 2012-07-11 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Removed trailing whitespace. 2012-07-11 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/GGInAFilter.java, src/main/java/de/intevation/flys/client/client/ui/sq/SQMultiPeriodPanel.java: Removed superfluous imports. 2012-07-11 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/auth/Authentication.java, src/main/java/de/intevation/flys/client/server/auth/AuthenticationFactory.java, src/main/java/de/intevation/flys/client/server/auth/was/Namespaces.java, src/main/java/de/intevation/flys/client/server/auth/was/ServiceException.java, src/main/java/de/intevation/flys/client/server/auth/was/Signature.java, src/main/java/de/intevation/flys/client/server/auth/was/Assertion.java, src/main/java/de/intevation/flys/client/server/auth/was/Request.java, src/main/java/de/intevation/flys/client/server/auth/was/Authenticator.java, src/main/java/de/intevation/flys/client/server/auth/was/Response.java, src/main/java/de/intevation/flys/client/server/auth/was/User.java, src/main/java/de/intevation/flys/client/server/auth/Authenticator.java, src/main/java/de/intevation/flys/client/server/auth/AuthenticationException.java, src/main/java/de/intevation/flys/client/server/auth/User.java, src/main/webapp/WEB-INF/web.xml: Move authentication related classes to de.intevation.fly.client.server.auth package. Abstract the authentication classes to allow other authentications beside WAS/GGInA. 2012-07-11 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/GGInAFilter.java: Check filter config in web.xml for String false to deactivate the GGInAFilter instead of "1". 2012-07-11 Christian Lins <christian.lins@intevation.de> Eclipse specific project files removed from SVN. * src/main/java/de/intevation/flys/client/server/FileUploadServiceImpl.java, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Fix exceptions on unknown style attributes. Introduce alpha transparency attribut for areas. 2012-07-11 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/server/SQKMChartServiceImpl.java: New. Service to request the sq relation helper chart. * src/main/java/de/intevation/flys/client/client/ui/sq/SQMultiPeriodPanel.java: New. Multi period input panel with overview chart in helper panel. * src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java: Use the new panel in sq relation period input. * src/main/webapp/WEB-INF/web.xml: Added new service to config. 2012-07-11 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/GGInAFilter.java: Redirect a user to the login page if he isn't authenticated. 2012-07-11 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/LoginServlet.java, src/main/webapp/login.jsp, src/main/webapp/FLYS.css, src/main/webapp/WEB-INF/web.xml: Implement a login page to be able to authenticate a user. 2012-07-11 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/GGInATrustStrategy.java: Add a TrustStrategy to be able to accept all SSL certificates. 2012-07-11 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/was/User.java: Add a first implementation of a WAS user class. 2012-07-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/was/Response.java: Directly use Base64InputStream filter stream instead of reading into memory first. 2012-07-10 Bj�rn Ricks <bjoern.ricks@intevation.de> * pom.xml: Add dependencies for jdom 1.1.3, Apache commons-io 2.2 and Apache httpcomponents 4.2. All are dependencies are used in the new WAS classes. 2012-07-10 Bj�rn Ricks <bjoern.ricks@intevation.de> * src/main/java/de/intevation/flys/client/server/was/Assertion.java src/main/java/de/intevation/flys/client/server/was/Request.java, src/main/java/de/intevation/flys/client/server/was/Response.java, src/main/java/de/intevation/flys/client/server/was/ServiceException.java, src/main/java/de/intevation/flys/client/server/was/Signature.java, src/main/java/de/intevation/flys/client/server/was/Namespaces.java: Implement class representation of a Web Authentication Service (WAS) request and response. If the authentication is successful the WAS responses with a base64 encoded Security Assertion Markup Language (SAML) v1.0 message. 2012-07-08 Sascha L. Teichmann <sascha.teichmann@intevation.de> * pom.xml: Bumped GWT from 2.3 up to 2.4 which is the current stable. 2012-07-08 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/server/CreateCollectionServiceImpl.java: Minor Cosmetics. 2012-07-08 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/server/ChartOutputServiceImpl.java, src/main/java/de/intevation/flys/client/server/RiverServiceImpl.java, src/main/java/de/intevation/flys/client/client/ui/chart/ChartPropertiesEditor.java: Cosmetics, whitespaces and doc. 2012-07-08 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java, src/main/java/de/intevation/flys/client/client/ui/chart/ManualWSPEditor.java, src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java: Removed superfluous imports. 2012-07-08 Felix Wolfsteller <felix.wolfsteller@intevation.de> Fix issue706. * src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java: Allow only one value to be entered by clicking. 2012-07-07 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java, src/main/java/de/intevation/flys/client/client/ui/chart/ManualWSPEditor.java, src/main/java/de/intevation/flys/client/client/utils/DoubleValidator.java: Removed trailing whitespace. 2012-07-06 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java: Added method to deselect active controls. Currently only zoom control is deselected. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: Changed type of tool bar to 'ChartToolbar'. * src/main/java/de/intevation/flys/client/client/ui/chart/NaviChartOutputTab.java: Deselect controls on navigate and return chart in 'getChartPanel'. 2012-07-03 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/NaviChartOutputTab.java: Add km to chart info request parameters to get valid chart infos. 2012-07-03 Felix Wolfsteller <felix.wolfsteller@intevation.de> Fix issue457. * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java: Store and consider direction (up, down) when using the km spinner. 2012-07-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n strings for export of adjusted coefficients. 2012-07-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ExportPanel.java: Make getting tooltip string more robust when trying to resolve missing I18N strings. 2012-06-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java: Show area menu also for newer manual wsp line facet. 2012-06-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ManualWSPEditor.java: Improved validation. * src/main/java/de/intevation/flys/client/client/utils/DoubleValidator.java (isDouble): New, shortcut. 2012-06-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ManualWSPEditor.java: Added basic validation 2012-06-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> Improved manual line editor. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java: Fix i18n key for buttons tooltip. * src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Fix translation. * src/main/java/de/intevation/flys/client/client/ui/chart/ManualWSPEditor.java: Label the input fields, nicen dialog dimensions. 2012-06-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java: Use different i18n key for button. * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added new i18n strings used for the manual WSP editor button. 2012-06-27 Felix Wolfsteller <felix.wolfsteller@intevation.de> Added basic GUI to register manual lines in cross section. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java: Add Button to register Manual WSPs. * src/main/java/de/intevation/flys/client/client/ui/chart/ManualWSPEditor.java: New. Basic manual WSP Editor. * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added new i18n strings used for the manual WSP editor. 2012-06-27 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ManualPointsEditor.java: Minor refactoring. 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/fixation/FixationPanel.java: Removed some stupid programming. Make the chart km more useful. 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/fixation/FixationPanel.java: Do not throw layout away if only the km chart needs reloading. Fix floating point vs. integer rounding issues. 2012-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/FixingsOverviewServiceImpl.java: Removed trailing whitespace. 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> * pom.xml: Bumped SmartGWT to version 3.0 This solves the date issues in fixings analysis for me. 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/fixation/FixEventSelect.java: Usability: Limit the number of displayed old items to 5. Use label "..." as a placeholder there are more. 2012-06-21 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/NaviChartOutputTab.java: Changed handler for km navigation input from changed to keypress listening to 'Enter'-key. 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/fixation/FixationPanel.java: Create "columns": { "cids": "1 2 3" } instead of "or": ["column": { "cid": 1 }, "column": { "cid": 2 }, "column": { "cid": 3 }] 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/FixingsOverviewServiceImpl.java: Added more debug ouput about the transmitted documents. 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/FixingsOverviewServiceImpl.java: Removed some XPath misuse. 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/fixation/FixationPanel.java: Removed example comment about JSON filter. * src/main/java/de/intevation/flys/client/client/ui/fixation/FixGaugeSelectPanel.java: Set discharge sectors 0 and 3 as default in UI. 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/webapp/WEB-INF/stylesheets/fixoverview2html.xsl: Forgot header cell when rendering checkboxes. Some small layout adjustments. 2012-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/webapp/WEB-INF/stylesheets/fixoverview2html.xsl: Extent of overview is determined by min/max km of sectors. 2012-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/ThemeListingServiceImpl.java, src/main/java/de/intevation/flys/client/client/ui/chart/NaviChartOutputTab.java: Removed superfluous imports. 2012-06-20 Felix Wolfsteller <felix.wolfsteller@intevation.de> Fix issue665, issue459, issue667 (zoom different in export). * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java: Fake a zoom-event when a zoom-value changing action was taken. 2012-06-18 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/StyleHelper.java: Added missing class from last commit. 2012-06-18 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/StyleHelper.java: New helper class which currently implements a function getStyle() that returns a Style object from XML Element. * src/main/java/de/intevation/flys/client/server/CollectionItemAttributeServiceImpl.java, src/main/java/de/intevation/flys/client/server/ThemeListingServiceImpl.java: Sources getStyle() out to StyleHelper. * src/main/java/de/intevation/flys/client/shared/model/StyleSetting.java: Added new boolean property 'hidden' and improved constructor. * src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java: Added attribute 'pointcolor' to whitelist and display only attributes that are not 'hidden'. 2012-06-18 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added new i18n strings used in the theme editor for point colors. 2012-06-15 Raimund Renkert <raimund.renkert@intevation.de> Added navigation to fix analysis charts. * src/main/java/de/intevation/flys/client/client/ui/chart/NaviChartOutputTab.java: New. Chart output tab with km navigation. * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Added member variables and getter/setter for km navigation values. * src/main/java/de/intevation/flys/client/shared/model/ChartMode.java: Create NaviChartOutputTabs for chart tabs in fix analysis. * src/main/java/de/intevation/flys/client/server/ChartOutputServiceImpl.java, src/main/java/de/intevation/flys/client/server/ChartServiceHelper.java: Added the current km as parameter in requests. * src/main/java/de/intevation/flys/client/shared/model/FixAnalysisArtifact.java: Create the filter by getting the attributes via artifact description. 2012-06-15 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/**/*.java: Removed trailing whitespace. 2012-06-15 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/config.xml, src/main/webapp/WEB-INF/web.xml, pom.xml: Reverted accidently commited personal changes (ports). 2012-06-14 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added chart and export titles for sq relation calculation in MINFO. 2012-06-14 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/fixation/FixEventSelect.java: Add all events to the list of selected events. 2012-06-14 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/fixation/FixationPanel.java: Changed helper chart size to avoid overlapping in maximized project window. 2012-06-14 Raimund Renkert <raimund.renkert@intevation.de> * main/webapp/WEB-INF/stylesheets/fixoverview2html.xsl: Render checked checkboxes in html event overview. 2012-06-11 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/FixAnalysisArtifact.java, src/main/java/de/intevation/flys/client/client/ui/fixation/FixGaugeSelectPanel.java, src/main/java/de/intevation/flys/client/client/ui/fixation/FixationPanel.java, src/main/java/de/intevation/flys/client/client/ui/fixation/FixEventSelect.java, src/main/java/de/intevation/flys/client/client/ui/PeriodPanel.java, src/main/java/de/intevation/flys/client/client/ui/DoubleInputPanel.java: Removed superfluous imports. 2012-06-11 Raimund Renkert <raimund.renkert@intevation.de> Added UI for S-Q-relation parameters. * src/main/java/de/intevation/flys/client/client/ui/MultipleLocationPanel.java: Use different filter strings for annotations. * src/main/java/de/intevation/flys/client/client/ui/PeriodPanel.java, src/main/java/de/intevation/flys/client/client/ui/DoubleInputPanel.java, src/main/java/de/intevation/flys/client/client/ui/MultiPeriodPanel.java: New. UIProvider for S-Q-relation parameters. * src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java: Added new states for S-Q-relation. * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n strings. 2012-06-07 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java: Fix doc. 2012-06-07 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Removed duplicated i18n methods. 2012-06-07 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n strings. 2012-06-07 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n stubs that let us continue working with the GUI. 2012-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/GGInAFilter.java, src/main/java/de/intevation/flys/client/client/ui/fixation/FixLocationPanel.java, src/main/java/de/intevation/flys/client/client/ui/fixation/FixationPanel.java, src/main/java/de/intevation/flys/client/client/ui/fixation/FixMultiPeriodPanel.java: Removed superfluous imports. 2012-06-05 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/fixation/FixPeriodPanel.java: Fixed creation of initial date string. 2012-06-04 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/webapp/WEB-INF/web.xml: Register Servlet Filter. 2012-06-04 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/server/ArtifactServiceImpl.java, src/main/java/de/intevation/flys/client/server/BaseServlet.java: Cosmetics, doc. 2012-06-03 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/server/GGinAFilter.java: New. Stub for upcoming authentication and authorization servlet filter. 2012-06-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/fixation/FixGaugeSelectPanel.java: Fixed descriptions of Q sectors. 2012-06-01 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/fixation/FixGaugeSelectPanel.java: Changed numbers in gauge sector selection state to strings. 2012-06-01 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/fixation/FixPeriodPanel.java: Set initial values for start and end date. 2012-06-01 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/FixAnalysisArtifact.java, src/main/java/de/intevation/flys/client/client/ui/fixation/FixationPanel.java, src/main/java/de/intevation/flys/client/client/ui/fixation/FixMultiPeriodPanel.java, src/main/java/de/intevation/flys/client/client/ui/fixation/FixEventSelect.java: Removed some debug outputs. 2012-06-01 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/FixAnalysisArtifact.java: Added filter to artifact. The artifact extracts old state data to create the filter. * src/main/java/de/intevation/flys/client/client/ui/fixation/FixationPanel.java: Implemented filter object. * src/main/java/de/intevation/flys/client/client/ui/fixation/FixLocationPanel.java, src/main/java/de/intevation/flys/client/client/ui/fixation/FixGaugeSelectPanel.java, src/main/java/de/intevation/flys/client/client/ui/fixation/FixMultiPeriodPanel.java, src/main/java/de/intevation/flys/client/client/ui/fixation/FixQSelectPanel.java, src/main/java/de/intevation/flys/client/client/ui/fixation/FixEventSelect.java, src/main/java/de/intevation/flys/client/client/ui/fixation/FixPeriodPanel.java: Removed getter and setter for filter object. Moved filter to fix artifact. 2012-05-30 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/fixation/FixMultiPeriodPanel.java: New. UI provider for multiple date range input. * src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java: Use the new ui provider for fix analysis parameter input. 2012-05-29 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: 2012-05-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n strings used by Delta W/t export of the fixing analysis. 2012-05-28 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added more i18n strings used in the floodmap datacage. 2012-05-27 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Corrected image path to add_wms.png. 2012-05-27 Ingo Weinzierl <ingo@intevation.de> * Tagged module as '2.7'. 2012-05-24 Raimund Renkert <raimund.renkert@intevation.de> Issue 671. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java: Added tooltips to toolbar buttons. * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n strings for tooltips. 2012-05-24 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java: Resized the km spinner for cross section themes. 2012-05-24 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java: Set the facet and index of the available styles to the values of the current one. 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: Cosmetics. 2012-05-23 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/FixAnalysisArtifact.java: New. Concrete artifact for fixing analysis. * src/main/java/de/intevation/flys/client/server/FLYSArtifactCreator.java: Create a fixanalysis artifact if the project is a fixing analysis. 2012-05-23 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/services/ThemeListingService.java, src/main/java/de/intevation/flys/client/client/services/ThemeListingServiceAsync.java, src/main/java/de/intevation/flys/client/server/ThemeListingServiceImpl.java: New. Service to request themes filtered by name. Response is a list of theme groups each containing the filtered theme. * src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java: Added a style chooser. The user can now choose predefined styles. * src/main/webapp/WEB-INF/web.xml: Added new service. 2012-05-22 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/fixation/FixationPanel.java, src/main/java/de/intevation/flys/client/client/ui/fixation/FixEventSelect.java, src/main/java/de/intevation/flys/client/client/ui/ParameterMatrixPanel.java, src/main/java/de/intevation/flys/client/client/ui/ParameterMatrix.java: Removed superfluous imports. 2012-05-22 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/fixation/FixPeriodPanel.java: Make the names of state parameters configurable by constructor. * src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java: Create specialized FixPeriodPanels when using "fix.period_ref_panel" or "fix.period_ana_panel" provider types. 2012-05-21 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/fixation/FixLocationPanel.java, src/main/java/de/intevation/flys/client/client/ui/fixation/FixGaugeSelectPanel.java, src/main/java/de/intevation/flys/client/client/ui/fixation/FixationPanel.java, src/main/java/de/intevation/flys/client/client/ui/fixation/FixQSelectPanel.java, src/main/java/de/intevation/flys/client/client/ui/fixation/FixEventSelect.java, src/main/java/de/intevation/flys/client/client/ui/fixation/FixPeriodPanel.java, src/main/java/de/intevation/flys/client/client/ui/SelectProvider.java: Added new method 'success', called on successful requested fixings overview document. Implemented 'createOld' to display old values. Changed data field 'name' to 'description'. 2012-05-21 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/server/FixingsOverviewServiceImpl.java, src/main/java/de/intevation/flys/client/shared/model/FixingsOverviewInfo.java: Changed data field 'name' to 'description'. 2012-05-21 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/Data.java, src/main/java/de/intevation/flys/client/shared/model/IntegerOptionsData.java, src/main/java/de/intevation/flys/client/shared/model/DefaultData.java, src/main/java/de/intevation/flys/client/shared/model/DoubleArrayData.java, src/main/java/de/intevation/flys/client/shared/model/DoubleRangeData.java, src/main/java/de/intevation/flys/client/shared/model/IntegerRangeData.java, src/main/java/de/intevation/flys/client/shared/model/StringOptionsData.java, src/main/java/de/intevation/flys/client/shared/model/LongRangeData.java: Added getter that returns the value as string. * src/main/java/de/intevation/flys/client/shared/model/IntegerArrayData.java: Refactored data type. Now stores data items of type IntDataItem instead of int[]. * src/main/java/de/intevation/flys/client/shared/model/IntDataItem.java: New. Data type for int array data. * src/main/java/de/intevation/flys/client/server/FeedServiceImpl.java, src/main/java/de/intevation/flys/client/server/StepForwardServiceImpl.java: Use new getter in data. * src/main/java/de/intevation/flys/client/server/DataFactory.java: Create int array data using int data items. 2012-05-18 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added csv export and chart title for MINFO bed height calculation. 2012-05-16 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/StringOptionsData.java: Added. This class was missing in the last commit. 2012-05-16 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/StringOptionsData.java: New Data implementation that should be used for user input with string options. * src/main/java/de/intevation/flys/client/server/ArtifactDescriptionFactory.java, src/main/java/de/intevation/flys/client/server/DataFactory.java: Create new StringOptionsData if the data type equals "options". * src/main/java/de/intevation/flys/client/client/ui/ParameterMatrixPanel.java. src/main/java/de/intevation/flys/client/client/ui/ParameterMatrix.java: Enabled this panel to handle StringOptionsData. 2012-05-16 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/webapp/WEB-INF/stylesheets/fixoverview2html.xsl: Render the Q class to the title of the sectors of the events. 2012-05-16 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/webapp/WEB-INF/stylesheets/fixoverview2html.xsl: Make the description of the event the title of the date column cells. 2012-05-16 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added i18n strings for flow velocity output. 2012-05-16 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/DataFactory.java: Extract the 'label' attribute of a <data> element and set this label as description of new Data instances. If no 'label' attribute is provided, the 'name' attribute (which is required) is used as description. * src/main/java/de/intevation/flys/client/client/ui/ParameterMatrixPanel.java: Implemented the createOld() method to display the user specified values. 2012-05-16 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added titles for flow velocity export. 2012-05-15 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/fixation/FixationPanel.java: Changed filter data types. * src/main/java/de/intevation/flys/client/client/ui/fixation/FixLocationPanel.java, src/main/java/de/intevation/flys/client/client/ui/fixation/FixGaugeSelectPanel.java, src/main/java/de/intevation/flys/client/client/ui/fixation/FixPeriodPanel.java: Add data to filterobject. * src/main/java/de/intevation/flys/client/client/ui/fixation/FixEventSelect.java: Changed data type for this state. * src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java: Added preprocessing state. 2012-05-15 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ParameterMatrixPanel.java: Implemented getData() which now returns the selected values from ParameterMatrix as colon separated string. 2012-05-14 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ModuleSelection.java: Fix fixation analysis factory from fix to fixanalysis. * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n string for fixanalysis. 2012-05-14 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ParameterMatrix.java: New class that builds a matrix of checkboxes in the following form: | Column A | Column B | ... | Column N Value A | [ ] | [ ] | ... | [ ] Value B | [ ] | [ ] | ... | [ ] ... Value C | [ ] | [ ] | ... | [ ] * src/main/java/de/intevation/flys/client/client/ui/ParameterMatrixPanel.java: New UIProvider that uses ParameterMatrix for user input. * src/main/java/de/intevation/flys/client/server/ArtifactDescriptionFactory.java: Create a new IntegerOptionsData instance if uiprovider is 'parameter-matrix' and the input type is 'intoptions'. * src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java: Return an instance of ParamterMatrixPanel if the uiprovider 'parameter- matrix' is required. 2012-05-14 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/MINFOArtifact.java: New Artifact that is used for the MINFO module. * src/main/java/de/intevation/flys/client/server/FLYSArtifactCreator.java: Create new MINFO Artifacts if the Artifact's name is "minfo". * src/main/java/de/intevation/flys/client/client/ui/DistancePanel.java: Use ArtifactDescription.getRiver() to retrieve the name of the selected river. 2012-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/MapPrintServiceImpl.java: Call MapFish print via Apache Commons Http Client to re-establish LGPL conformance. * src/main/webapp/WEB-INF/web.xml: Configured the MapFish Print servlet again. You need to adjust the init parameter 'print-url' of the servlet MapPrintService to point to the MapFish Print servlet. * pom.xml: Added dependency to Apache Commons Http Client 3.1 2012-05-13 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n strings for computed discharge curves in datacage. 2012-05-11 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/fixation/FixationPanel.java: Added scrollable chart to helperpanel and added filter object class. * src/main/java/de/intevation/flys/client/client/ui/fixation/FixLocationPanel.java, src/main/java/de/intevation/flys/client/client/ui/fixation/FixGaugeSelectPanel.java, src/main/java/de/intevation/flys/client/client/ui/fixation/FixQSelectPanel.java, src/main/java/de/intevation/flys/client/client/ui/fixation/FixEventSelect.java, src/main/java/de/intevation/flys/client/client/ui/fixation/FixPeriodPanel.java: Added getter and setter for filter object. * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n strings. 2012-05-11 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Fix german middleheight i18n string. 2012-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/MapPrintServiceImpl.java: Fixed problem with selecting the wrong map scale for printing. * src/main/webapp/WEB-INF/config.yaml: Added scales 1:2500, 1:5000, 1:10000 and 1:15000 for "close-ups". 2012-05-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java: Further input checking in kmspinner. 2012-05-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> issue652: Empty spinner leads to exception. * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java: Employ ValueFormatter and ValueParser to respect locale and stabilize. 2012-05-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n strings for showmiddleheight theme property strings. 2012-05-09 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/webapp/WEB-INF/config.yaml: Simplified config. Still ugly. 2012-05-09 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/MapPrintServiceImpl.java: Generate legen via getlegendgraphic of the layers. Does not look too pretty right now. * src/main/webapp/WEB-INF/config.yaml: Added legend block. We need to learn how the layout really work to make it look pretty. 2012-05-09 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/map/MapToolbar.java: Added zoom listener a adjust the print link bbox. Link bbox parameters are generated correctly but the service does not respect them. Needs debugging. 2012-05-09 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/MapPrintServiceImpl.java: Accept the case that no bbox is given. Fall back to max extent in this case. * src/main/java/de/intevation/flys/client/client/ui/map/MapToolbar.java: Generate a valid URL for the print service. A nasty internal bug in gwtopenmaps bounds (type cast problem) prevents fetching bbox when map in new. Cope with this case. TODO: Add listeners to follow the current extent. * src/main/webapp/WEB-INF/config.yaml: Allowed another host to fetch remote images from. 2012-05-07 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/map/MapToolbar.java: Added link to print map. TODO: Figure out how create link. 2012-05-07 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/MapPrintServiceImpl.java: Extract layer order and visibility from the describe document of the collection. TODO: Generate legend by inserting icon urls to GETLEGENDGRAPHIC of the layers. 2012-05-07 Raimund Renkert <raimund.renkert@intevation.de> First implementation for fixing analysis parameter. * src/main/java/de/intevation/flys/client/server/FixingsOverviewServiceImpl.java: Updated services implementation. The service now returns an info object containing the fixing overview data and html representation. * src/main/java/de/intevation/flys/client/shared/model/FixingsOverviewInfo.java: New. Info object containing overview data and html representation. * src/main/java/de/intevation/flys/client/client/services/FixingsOverviewServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/FixingsOverviewService.java: Updated interfaces. * src/main/java/de/intevation/flys/client/client/ui/fixation, src/main/java/de/intevation/flys/client/client/ui/fixation/FixLocationPanel.java, src/main/java/de/intevation/flys/client/client/ui/fixation/FixGaugeSelectPanel.java, src/main/java/de/intevation/flys/client/client/ui/fixation/FixationPanel.java, src/main/java/de/intevation/flys/client/client/ui/fixation/FixQSelectPanel.java, src/main/java/de/intevation/flys/client/client/ui/fixation/FixEventSelect.java, src/main/java/de/intevation/flys/client/client/ui/fixation/FixPeriodPanel.java: New. Panels for fixing analysis parameter. * src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java: Added new UI-Provider to factory. * src/main/webapp/WEB-INF/stylesheets/fixoverview2html.xsl: Modified the stylesheet to take a parameter containing a callback. * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n strings. 2012-05-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/MapPrintServiceImpl.java: Dynamically generate spec from artifact. TODO: Interfere with collection. * src/main/webapp/WEB-INF/config.yaml: Simplified a bit. 2012-05-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/MapHelper.java: Added logger.isDebugEnable() as a condition for serializing XML to the log. * src/main/java/de/intevation/flys/client/server/MapPrintServiceImpl.java: Evaluate 'uuid', 'minx', 'maxx', 'miny', 'maxy' and 'maptype' from GET parameters. 2012-05-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/MapPrintServiceImpl.java: New. Call the MapPrint of MapFish Print directly. This removes the need of stupid passing around a complex JSON document to another servlet. The generation of the PDF is done nearly the same way the ShellMapPrinter works without the shell overhead. * src/main/webapp/WEB-INF/web.xml: Register new servlet and remove old MapFish Print one. * src/main/webapp/WEB-INF/config.yaml: Fix some image refs. 2012-05-03 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n strings for linelabel theme property strings. 2012-05-03 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/ArtifactDescriptionFactory.java: Parse 'helpText' field in DESCRIBE document. * src/main/java/de/intevation/flys/client/shared/model/DataList.java: Added an attribute 'helpText' to store an URL reference to an online help page. * src/main/java/de/intevation/flys/client/client/ui/UIProvider.java, src/main/java/de/intevation/flys/client/client/ui/AbstractUIProvider.java: Defined and implemented a method to create a Canvas with a link to an online help page. * src/main/java/de/intevation/flys/client/client/ui/ParameterList.java: Create the link to an online help page for each current parameter and put it in front of the input panel. * src/main/java/de/intevation/flys/client/client/ui/ImgLink.java: Added an attribute 'newTab' that could be used to open the link in a new tab (HTML target='_blank'). 2012-05-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java: Define order for linelabel theme properties. 2012-05-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n strings for linelabel theme property strings. 2012-04-26 Sascha L. Teichmann <sascha.teichmann@intevation.de> * pom.xml: Added dependency to MapFish Print (http://www.mapfish.org/doc/print/) License GPLv3. (This is okay, because we only use it via out-of-process calls). * src/main/webapp/WEB-INF/web.xml: Added servlet and servlet mapping. * src/main/webapp/WEB-INF/config.yaml: New. Just copied from MapFish config examples. TODO: Adjust for out use case. 2012-04-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added 'showlinelabel' i18n strings. 2012-04-25 Raimund Renkert <raimund.renkert@intevation.de> Issue 657. * src/main/java/de/intevation/flys/client/server/FileUploadServiceImpl.java: New. Service to upload a base64 encoded file embedded in xml structure. * src/main/java/de/intevation/flys/client/client/ui/DigitizePanel.java: Added upload form to the UI. * src/main/webapp/WEB-INF/web.xml: Registered new servlet and added mapping. * pom.xml: Added dependency apache commons fileupload. * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n strings. 2012-04-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/FixingsKMChartServiceImpl.java: Use the XSL transform to render the overview. * src/main/java/de/intevation/flys/client/server/FixingsOverviewServiceImpl.java, src/main/java/de/intevation/flys/client/client/services/FixingsOverviewServiceAsync.java: Adjusted signature to pass locale, too. * src/main/java/de/intevation/flys/client/client/services/FixingsOverviewService.java: Simplification. * src/main/webapp/WEB-INF/stylesheets/fixoverview2html.xsl: New. Generates the HTML table overview. 2012-04-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/webapp/WEB-INF/web.xml: Fixed incorrect servlet mapping. 2012-04-20 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java: Fix imports. 2012-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/FixingsOverviewServiceImpl.java, src/main/java/de/intevation/flys/client/client/services/FixingsOverviewServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/FixingsOverviewService.java: New. Stub for overview service to be called from JS side to generate the fixings overview. * src/main/webapp/WEB-INF/web.xml: Registered new overview service. 2012-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/FixingsKMChartServiceImpl.java: New. Bridge fixings km chart requests from web to artefact server. The filters have to be JSON encoded and passed in the the 'filter' parameter. src/main/webapp/WEB-INF/web.xml: Registered the new proxy servlet. 2012-04-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> Improve km-Spinner behaviour, allow text input (alpha). * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java (KmSpinner): Replaced Label by somewhat working TextItem. 2012-04-18 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/map/GetFeatureInfoWindow.java: Adjusted the layout. 2012-04-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/MapUrlServiceImpl.java, src/main/java/de/intevation/flys/client/client/ui/chart/ManualDatePointsEditor.java, src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java, src/main/java/de/intevation/flys/client/client/ui/chart/MousePositionPanel.java, src/main/java/de/intevation/flys/client/client/ui/map/ExternalWMSWindow.java, src/main/java/de/intevation/flys/client/client/ui/GaugeTimeRangePanel.java, src/main/java/de/intevation/flys/client/client/ui/ImgLink.java: Removed superflous imports. Some commented out because they are referenced by a big commented out block. 2012-04-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> Improve km-Spinner behaviour but regressing on input-possibility (no direct text input possible). * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java (KmSpinner): New inner class. (createGrid): Use new inner class as experiment (old code commented). 2012-04-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java (closest): Fix bug that prevented that always the closest km was fetched. 2012-04-18 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java: Open the ManualDatePointsEditor from context menu. 2012-04-18 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java: Open the ManualDatePointsEditor from context menu. 2012-04-17 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java: Cosmetics. 2012-04-17 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java: Cosmetics. 2012-04-17 Felix Wolfsteller <felix.wolfsteller@intevation.de> Fix flys/issue462. * src/main/java/de/intevation/flys/client/client/ui/chart/ManualDatePointsEditor.java: (createUI): Avoid NPE when trying to format a NULL value). 2012-04-17 Raimund Renkert <raimund.renkert@intevation.de> Issue 494. * src/main/java/de/intevation/flys/client/client/ui/chart/ManualDatePointsEditor.java: New. Editor to create manual points from date and y value. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java: Use ManualDatePointsEditor to create new points. * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n strings for error message. 2012-04-13 Raimund Renkert <raimund.renkert@intevation.de> Issue 424. * src/main/java/de/intevation/flys/client/client/ui/DatacageWidget.java: Show folder icon for folder nodes with no children. 2012-04-12 Raimund Renkert <raimund.renkert@intevation.de> Issue 502. * src/main/java/de/intevation/flys/client/client/ui/chart/MousePositionPanel.java: Dynamically create a label for each y axis in the chart. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: Added getter for transformer count. Update chart info on output parameter changed. * src/main/java/de/intevation/flys/client/shared/model/ChartInfo.java: Added getter for transformer count. 2012-04-11 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added missing i18n strings and removed duplicates. 2012-04-11 Raimund Renkert <raimund.renkert@intevation.de> Issue 492. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartPropertiesEditor.java: Added axis validation. Same values in fields 'from' and 'to' in axis scale are not allowed. 2012-04-11 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: Fixed range input for 'W free'. 2012-04-05 Raimund Renkert <raimund.renkert@intevation.de> Issue 499. * src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: Added panels for 'W free' input. Added validation for 'W free' input values. 2012-04-04 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added titles for WSPLGEN layer depths. * src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java: Improved the layout of the window; convert HTML string into a RGB color if the type of a theme field is 'color'. 2012-04-04 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Modified references to images. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java, src/main/java/de/intevation/flys/client/client/ui/map/MapToolbar.java, src/main/java/de/intevation/flys/client/client/ui/map/MeasureControl.java: Explicitly disabled mouse over effects. * src/main/webapp/images/arrow_up.png, src/main/webapp/images/hand.png, src/main/webapp/images/mag_zoom_plus.png, src/main/webapp/images/mag_zoom_back.png, src/main/webapp/images/mag_zoom_box_Selected.png, src/main/webapp/images/mag_100_Selected.png, src/main/webapp/images/png_export_Selected.png, src/main/webapp/images/svg_export.png, src/main/webapp/images/arrow_first.png, src/main/webapp/images/properties_Selected.png, src/main/webapp/images/measure_line.png, src/main/webapp/images/measure_plane.png, src/main/webapp/images/mag_zoom_plus_Selected.png, src/main/webapp/images/png_export.png, src/main/webapp/images/info.png, src/main/webapp/images/mag_glass.png, src/main/webapp/images/save.png, src/main/webapp/images/save_Selected.png, src/main/webapp/images/pdf_export.png, src/main/webapp/images/arrow_last.png, src/main/webapp/images/mag_zoom_box.png, src/main/webapp/images/arrow_down.png, src/main/webapp/images/pdf_export_Selected.png, src/main/webapp/images/mag_zoom_minus.png, src/main/webapp/images/properties.png, src/main/webapp/images/add_map_Selected.png, src/main/webapp/images/mag_zoom_back_Selected.png, src/main/webapp/images/info_Selected.png, src/main/webapp/images/svg_export_Selected.png, src/main/webapp/images/mag_100.png, src/main/webapp/images/measure_line_Selected.png, src/main/webapp/images/add_map.png, src/main/webapp/images/measure_plane_Selected.png, src/main/webapp/images/mag_zoom_minus_Selected.png: New icons. * src/main/webapp/images/addWMS.png, src/main/webapp/images/theme_top.png, src/main/webapp/images/zoom-in_Selected.png, src/main/webapp/images/theme_up.png, src/main/webapp/images/getFeatureInfo.png, src/main/webapp/images/getFeatureInfo_Selected.png, src/main/webapp/images/measureLine_Selected.png, src/main/webapp/images/measurePolygon_Selected.png, src/main/webapp/images/zoom-1.png, src/main/webapp/images/zoom-back.png, src/main/webapp/images/theme_bottom.png, src/main/webapp/images/zoom-in.png, src/main/webapp/images/zoom-out.png, src/main/webapp/images/measureLine.png, src/main/webapp/images/measurePolygon.png, src/main/webapp/images/theme_down.png: Removed old icons (replaced by new icons). 2012-04-02 Ingo Weinzierl <ingo@intevation.de> flys/issue556 (�SK: neues Projekt, wenn zuvor INFO-Button verwendet wurde) * src/main/java/de/intevation/flys/client/client/ui/map/GetFeatureInfoWindow.java: Made window modal and display a modal mask. 2012-03-30 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/map/MapToolbar.java: Take care on Nullpointers; the info button is not available in the helper panel. 2012-03-20 Raimund Renkert <raimund.renkert@intevation.de> Issue 506. * src/main/java/de/intevation/flys/client/client/ui/GaugeTimeRangePanel.java: The Panel now accepts dates and has a date chooser. * src/main/java/de/intevation/flys/client/shared/model/LongRangeData.java: New. Datatype for long values. Used to store dates in ms. * src/main/java/de/intevation/flys/client/server/DataFactory.java: Added method to create LongRangeData objects. * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n string for error message. 2012-03-20 Ingo Weinzierl <ingo@intevation.de> flys/issue544 (Historische ATs: Eingabeunterst�tzung W/Q) * src/main/java/de/intevation/flys/client/shared/model/ArtifactDescription.java, src/main/java/de/intevation/flys/client/shared/model/DefaultArtifactDescription.java: Added new method for fetching specific data values and a method for fetching the reference gauge number. * src/main/java/de/intevation/flys/client/client/ui/WQSimpleArrayPanel.java: Added the WQ tables to the helper panel. 2012-03-20 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/GaugeInfoServiceImpl.java, src/main/java/de/intevation/flys/client/client/services/GaugeInfoService.java, src/main/java/de/intevation/flys/client/client/services/GaugeInfoServiceAsync.java: New service to fetch information of gauges for a specific river. * src/main/webapp/WEB-INF/web.xml: Registered the gauge info service. 2012-03-20 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/GaugeImpl.java, src/main/java/de/intevation/flys/client/shared/model/Gauge.java: New model classes for gauges. 2012-03-20 Felix Wolfsteller <felix.wolfsteller@intevation.de> Last step for fix flys/issue618. * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java: Do not enable spinner if theme is disabled. 2012-03-20 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java: Make synchron navigation a per-theme option, not a global one. 2012-03-20 Felix Wolfsteller <felix.wolfsteller@intevation.de> Fix flys/issue462, hinted to by Raimund Renkert. * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java: Changed location of reference selectbox to top, resolved i18n todos. * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added and modified i18n strings. 2012-03-20 Felix Wolfsteller <felix.wolfsteller@intevation.de> Fix flys/issue462, hinted to by Raimund Renkert. * src/main/java/de/intevation/flys/client/client/ui/chart/ManualPointsEditor.java (createUI): Do not try to parse NULL values. 2012-03-20 Ingo Weinzierl <ingo@intevation.de> * flys/issue204 (W-INFO: Wasserspiegellagenberechnung / Layout Auswahlunterst�tzung Q/W/D) * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added and modified i18n strings. * src/main/java/de/intevation/flys/client/client/ui/wq/QDTable.java, src/main/java/de/intevation/flys/client/client/ui/wq/WTable.java: Renamed value columns. * src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: Renamed tab titles for W/Q/D tables. 2012-03-19 Ingo Weinzierl <ingo@intevation.de> * src/main/webapp/WEB-INF/wms-services.xml: More WMS services configured. 2012-03-16 Raimund Renkert <raimund.renkert@intevation.de> Issue 493. * src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java: Create an empty element for the symbol property. 2012-03-16 Ingo Weinzierl <ingo@intevation.de> * Tagged module as 'pre2.7-2012-03-16'. 2012-03-15 Raimund Renkert <raimund.renkert@intevation.de> Issue 630. * src/main/java/de/intevation/flys/client/client/ui/WQAdaptedInputPanel.java: Added input helper panel to wq selection. 2012-03-14 Raimund Renkert <raimund.renkert@intevation.de> Issue 508. * src/main/java/de/intevation/flys/client/client/ui/map/ExternalWMSWindow.java: Added service to load a list of WMS services and show this list in a combobox. * src/main/java/de/intevation/flys/client/server/MapUrlServiceImpl.java, src/main/java/de/intevation/flys/client/client/services/MapUrlService.java, src/main/java/de/intevation/flys/client/client/services/MapUrlServiceAsync.java: New. Service to load a list of WMS services. * src/main/webapp/WEB-INF/wms-services.xml: New. Config file containing the list of WMS services. * src/main/webapp/WEB-INF/web.xml: Added new service. 2012-03-13 Raimund Renkert <raimund.renkert@intevation.de> Issue 514. * src/main/java/de/intevation/flys/client/client/ui/LocationPicker.java: Remove filter if selection changes from description to range. 2012-03-13 Raimund Renkert <raimund.renkert@intevation.de> Issue 616. * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java: Only append the synchron navigation item to context menu if the theme is a cross section. 2012-03-08 Raimund Renkert <raimund.renkert@intevation.de> Issue 563. * src/main/java/de/intevation/flys/client/client/ui/Toolbar.java: Set overflow to 'auto'. * src/main/java/de/intevation/flys/client/client/ui/map/MapToolbar.java, src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java: Added resize handler to increase or decrease the height if a scrollbar is visible. 2012-03-08 Raimund Renkert <raimund.renkert@intevation.de> Issue 553. * src/main/java/de/intevation/flys/client/client/ui/map/MapPositionPanel.java: Cut the last 3 digits. 2012-03-08 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n strings used in the floodmaps section of the datacage. 2012-03-05 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/map/MapToolbar.java: Deactivate GetFeatureInfo tool when activating Measure tool and reverse. 2012-03-05 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/GFIServiceImpl.java: Suppress adding superflous colons during GetFeatureInfo URL creation. Now, GetFeatureInfo requests with one layer only are queryable. 2012-03-05 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/map/MapToolbar.java: Deactivate GetFeatureInfo button if another toggle button is pressed. 2012-03-05 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ProjectList.java: Removed the last column (at the right border) of the project list which has been a placeholder for a scrollbar. 2012-03-05 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java, src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java: Removed the last column (at the right border) of those theme panels. 2012-03-05 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added I18N string for 'dems' (digital elevation models). 2012-03-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> Partial Fix flys/issue624 (removing cross section does not remove it from select box). * src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java (removeThemes): Extracted to be able to override. * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java (removeThemes): Overridden to also remove theme from select box. This has side effects though (TODO). 2012-03-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> Fix flys/issue621 (areas against deleted themes.) * src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java: Do not include deleted themes in menu. 2012-03-01 Ingo Weinzierl <ingo@intevation.de> flys/issue557 (�SK: Fl�chenmessung --> Tooltip falsch) * src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Fixed wrong i18n string used for tooltip. 2012-03-01 Ingo Weinzierl <ingo@intevation.de> flys/issue558 (�SK: Farb�nderung in Karte / keine �nderung in der Themenliste) * src/main/java/de/intevation/flys/client/shared/MapUtils.java: Append the current time millis at the end of the GetLegendGraphic URL to trick the caching mechanisms. 2012-03-01 Ingo Weinzierl <ingo@intevation.de> flys/issue555 (�SK: Info-Button) * src/main/java/de/intevation/flys/client/client/ui/map/GetFeatureInfo.java: Close old GetFeatureInfoWindows before creating new ones. 2012-03-01 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/ThemeList.java: New method getActiveThemes() that returns the active themes only. * src/main/java/de/intevation/flys/client/client/ui/map/GetFeatureInfo.java: Query GetFeatureInfo for active layers only! 2012-03-01 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Removed the Collection's UUID from title. 2012-03-01 Raimund Renkert <raimund.renkert@intevation.de> Issue 572. * src/main/java/de/intevation/flys/client/client/ui/map/MapThemePanel.java: Catch the header double click event and do nothing, do not allow field reorder and resized style row. 2012-03-01 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added message for datacage window. * src/main/java/de/intevation/flys/client/client/ui/DatacageWidget.java: Display better message for an empty datacage. 2012-03-01 Raimund Renkert <raimund.renkert@intevation.de> Fixed Issue 498. * src/main/java/de/intevation/flys/client/server/CollectionHelper.java: Do not return 'null' if no settings are available. Returning 'null' discards theme attributes! 2012-03-01 Felix Wolfsteller <felix.wolfsteller@intevation.de> Fix flys/issue613 (points too big to play perfectly with other legend items). * src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java: Restrict point size. Add intermediate levels instead. 2012-02-17 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java, src/main/java/de/intevation/flys/client/client/ui/WQAdaptedInputPanel.java: Renamed state data fields: wq_mode -> wq_isq wq_free -> wq_isfree wq_selection -> wq_isrange Removed some logs. 2012-02-17 Ingo Weinzierl <ingo@intevation.de> flys/issue459 (Diagramm-Export hat nicht die gleiche Axenskalierung wie Diagramm-Ansicht) * src/main/java/de/intevation/flys/client/client/ui/ImgLink.java: Added a method setSource() that allows to reset the url of the export. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java: Implements ZoomHandler to update the export url of PNG, PDF and SVG download links. This is necessary to take the current zoom information into account. 2012-02-17 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: Removed the server URL provided by Config. The URL is no longer required since it is configured in web.xml. 2012-02-17 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/ChartOutputServiceImpl.java: Print debug messages for zoom values. 2012-02-16 Raimund Renkert <raimund.renkert@intevation.de> Refactored the wq input data fields. * src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java, src/main/java/de/intevation/flys/client/client/ui/WQAdaptedInputPanel.java: Refactored the wq input data fields. The data fields wq_mode, wq_free and wq_selection are now of type 'boolean'. 2012-02-16 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Modified german translation of qps in floodmap's datacage panel. 2012-02-14 Sascha L. Teichmann <sascha.teichmann@intevation.de> Another partial fix/workaround for flys/issue499. * src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: _DIRTY_ hack to be able to enter values for "W am Pegel". The validator should check against min W / max W of the gauge where the start km is in. We currently assume hard coded that the have to be between 0 and 100000. 2012-02-13 Sascha L. Teichmann <sascha.teichmann@intevation.de> Another partial fix/workaround for flys/issue499. * src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: _DIRTY_ hack to be able to enter values for "W auf freier Strecke". We need to get the interpolated min/max Ws at the start km to do proper validation. We currently assume hard coded that the have to be between 0 and 100000. 2012-02-13 Sascha L. Teichmann <sascha.teichmann@intevation.de> Client side fix for flys/issue499. There is an server issue, too. * src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: Send W/Q mode WQ_FREE if calculating "W auf freier Strecke." 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> Fix flys/issue481 (i18n: Datenkorb). * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added translations some datacage entities. 2012-02-09 Raimund Renkert <raimund.renkert@intevation.de> Reactivated the Enterprise Blue theme. * src/main/java/de/intevation/flys/client/FLYS.gwt.xml: Inherit the Enterprise Blue Theme. * src/main/java/de/intevation/flys/client/client/FLYS.java, src/main/java/de/intevation/flys/client/client/ui/map/ElevationWindow.java, src/main/java/de/intevation/flys/client/client/ui/Toolbar.java, src/main/java/de/intevation/flys/client/client/ui/CollectionView.java, src/main/java/de/intevation/flys/client/client/ui/DatacageButton.java: CloseClientEvent was renamed to CloseClickEvent. * src/main/java/de/intevation/flys/client/client/ui/DatacageWidget.java: Adjusted icon path. * pom.xml: Added dependency for smartgwt-2.5-patch containing changes for Enterprise Blue Theme. 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/MultipleLocationPanel.java: Cosmetics, renamed local 'values' variables to avoid confusion with values field from superclass. * src/main/java/de/intevation/flys/client/client/ui/LocationPanel.java: Cosmetics. 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/MultipleLocationPanel.java: Allow selection of more than one location via clicks to the locationpicker. * src/main/java/de/intevation/flys/client/client/ui/LocationPanel.java: Initialize values in constructor. * src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java: Minor cosmetics. 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/shared/DoubleUtils.java: (fill,copyOf): Pendant to java.util.Arrays, which misbehaves with GWT. 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/LocationPanel.java, src/main/java/de/intevation/flys/client/client/ui/MultipleLocationPanel.java: Minor refactoring, cosmetics and documentation. Also use translated data item name as label instead of fixed "location" string. 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added translations for reference curve state data. 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ManualPointsEditor.java: Cosmetics. 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de> New UIProvider to enter multiple locations (so far only via keyboard). * src/main/java/de/intevation/flys/client/client/ui/MultipleLocationPanel.java, src/main/java/de/intevation/flys/client/client/ui/LocationPanel.java, src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java: Refactored. New UIProvider does allow and provide multiple values, which are whitespace separated in data item. * src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java: Serve the new UIProvider if somebody orders it. 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added missing translation for "waterlevels" used in the datacage window. 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/server/ChartInfoServiceImpl.java, src/main/java/de/intevation/flys/client/shared/model/NumberAxis.java, src/main/java/de/intevation/flys/client/shared/model/DateAxis.java: Removed obsolete includes. 2012-02-08 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/ReportServiceImpl.java: Prefix error message for a certain km with 'KM'. 2012-02-08 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added missing translation for "columns" used in the datacage window. 2012-02-08 Ingo Weinzierl <ingo@intevation.de> flys/issue482 (i18n: UPPER ERROS bei Historischen Abflusskurven) * src/main/java/de/intevation/flys/client/client/ui/RangePanel.java: Defined new abstract methods to determine the max lower and upper values. Implemented the validate() method which now shows i18n error messages. * src/main/java/de/intevation/flys/client/client/ui/IntegerRangePanel.java: Implemented the methods to determine the max lower and upper values. 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de> Partial fix flys/issue471. * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java: Treat as manual points every theme that ends as manualpoints. 2012-02-07 Raimund Renkert <raimund.renkert@intevation.de> Issue 473. Manual point input is now localized. * src/main/java/de/intevation/flys/client/client/ui/chart/ManualPointsEditor.java: Added formatter and parser for 'X' and 'Y' values and return 'false' in 'isDialogValid' if the grid contains any errors. 2012-02-07 Ingo Weinzierl <ingo@intevation.de> * src/main/webapp/WEB-INF/web.xml: Reverted port 8182 to 8181 which is the default port of artifact-server. 2012-02-06 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/GaugeTimeRangePanel.java: New. Shows the integer input fields and a helper table containing discharge informations. * src/main/java/de/intevation/flys/client/client/ui/range/DischargeInfoDataSource.java: New. Data source container for discharge infos. * src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java: Create a GaugeTimeRangePanel. * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n strings for table header. 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: I18N for Reference Curve export. 2012-02-06 Raimund Renkert <raimund.renkert@intevation.de> Added service to request discharge infos at a specific gauge. * src/main/java/de/intevation/flys/client/client/services/DischargeInfoService.java, src/main/java/de/intevation/flys/client/client/services/DischargeInfoServiceAsync.java: New. Interfaces for new service. * src/main/java/de/intevation/flys/client/server/DischargeInfoServiceImpl.java: New. Service implementation. * src/main/java/de/intevation/flys/client/server/DischargeInfoXML.java: New. Service to request the discharge infos and provide the data via servlet to a data source object. * src/main/java/de/intevation/flys/client/shared/model/DischargeInfoObject.java, src/main/java/de/intevation/flys/client/shared/model/DischargeInfoObjectImpl.java: New. Interface and implementation for objects containing discharge infos. * src/main/webapp/WEB-INF/web.xml: Added entries for discharge info servlets and servlet mappings. 2012-02-06 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: I18N for "Reduzierte Bezugslinie". 2012-02-06 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/Transform2D.java: A Transform2D object now knows about the type of x and y axis and implements a method format() that returns an 2dim string array with formatted values for x and y axis. * src/main/java/de/intevation/flys/client/server/ChartInfoServiceImpl.java: Read x and y axis type for transformation matrix and create new Transform2D instances with these information. This allows the Transform2D object to format date values as well. * src/main/java/de/intevation/flys/client/client/ui/chart/MousePositionPanel.java: Don't format x and y values itself - let Transform2D do this. 2012-02-06 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/Axis.java: Axis is an interface now. The code moved to NumberAxis which should be the default Axis. * src/main/java/de/intevation/flys/client/shared/model/NumberAxis.java: New. This axis stores the parameter min, max, from and to as double values. * src/main/java/de/intevation/flys/client/shared/model/DateAxis.java: New. This axis stores the parameter min, max, from and to as long values. These values represent the miliseconds until January 1, 1970. * src/main/java/de/intevation/flys/client/server/ChartInfoServiceImpl.java: Create new DateAxis instances if the axis type is set to "date". In this case, the parameters from, to, min and max are parsed as Long values. The default is to create new instances of NumberAxis and to parse those values as Double. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java, src/main/java/de/intevation/flys/client/shared/model/ZoomObj.java: Save the zoom values as Number. 2012-02-06 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added i18n string for the export button of historical discharge curves. 2012-02-03 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/DataFactory.java: Read double values inserted for doublearray data types. * src/main/java/de/intevation/flys/client/server/ArtifactDescriptionFactory.java: Create new instances of DoubleArrayData if the data type is "doublearray". * src/main/java/de/intevation/flys/client/shared/model/DoubleArrayData.java: Do no longer subclass DefaultData but implement the whole stuff we need for a Data class. * src/main/java/de/intevation/flys/client/shared/model/IntegerArrayData.java: Added a method getValues() that returns the raw int values as array. * src/main/java/de/intevation/flys/client/client/ui/WQSimpleArrayPanel.java: Display the W/Q input values in createOld(). 2012-02-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ManualPointsEditor.java, src/main/java/de/intevation/flys/client/client/ui/map/FloodMap.java, src/main/java/de/intevation/flys/client/client/ui/LocationPanel.java, src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java: Removed superfluous imports. 2012-02-03 Felix Wolfsteller <felix.wolfsteller@intevation.de> Improvements in relation to reference curves. * src/main/java/de/intevation/flys/client/server/ArtifactDescriptionFactory.java: Parse min/max values. * src/main/java/de/intevation/flys/client/shared/model/DoubleRangeData.java: New. * src/main/java/de/intevation/flys/client/client/ui/LocationPanel.java: Refactored to use data item name as given (take first). * src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java: Exploit former refacorisation. 2012-02-03 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/server/ArtifactDescriptionFactory.java: Added TODO and create defaultdata for unknown typed dynamic data. 2012-02-03 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/AbstractUIProvider.java (createDataArray): Helper. * src/main/java/de/intevation/flys/client/client/ui/LocationPanel.java, src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java: Extracted new LocationPanel class to ease code-reuse. 2012-02-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java, src/main/java/de/intevation/flys/client/client/ui/LocationPicker.java: Amateurly extracted Input-Helper-related code to ease code re-use. 2012-02-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java: Removed obsolete import. 2012-02-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ManualPointsEditor.java, src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java, src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java, src/main/java/de/intevation/flys/client/client/ui/map/MapThemePanel.java: Removed obsolete imports. 2012-02-02 Raimund Renkert <raimund.renkert@intevation.de> Issue 466: CSV export for chart themes. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java: Added button for CSV download. * src/main/java/de/intevation/flys/client/server/ChartOutputServiceImpl.java: Added 'csv' as export format. * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added path for csv export icon. 2012-02-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/server/DataFactory.java, src/main/java/de/intevation/flys/client/client/ui/AbstractUIProvider.java: Cosmetics. * src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java: Cosmetics, removed MESSAGES, use super.MSG instead, comments, minor refactoring. 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java, src/main/java/de/intevation/flys/client/client/ui/SelectProvider.java: Cosmetics. 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n title for 'reference curve' output. 2012-02-01 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n title for 'historical discharge curve' output. 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Changed wording. 2012-02-01 Ingo Weinzierl <ingo@intevation.de> flys/issue469 (I18N der Zahlen Parameterisierung (z.B. Orte)) * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java: Display the I18N location string in createOld(). 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: javadoc. 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java, src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java: Avoid NPEs when a theme is null (which should not happen anyways). 2012-01-31 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/IntegerRangeData.java: Create a label "min - max" for the DataItem returned by getItems(). 2012-01-31 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/WQSimpleArrayPanel.java: Finished implementation of createOld(); 2012-01-31 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/DoubleArrayData.java, src/main/java/de/intevation/flys/client/shared/model/StringData.java, src/main/java/de/intevation/flys/client/shared/model/IntegerData.java: New. Subclasses of DefaultData. They are currently used to distinguish them during UI creation. * src/main/java/de/intevation/flys/client/shared/model/IntegerOptionsData.java, src/main/java/de/intevation/flys/client/shared/model/IntegerArrayData.java, src/main/java/de/intevation/flys/client/shared/model/IntegerRangeData.java: Added a static TYPE field. * src/main/java/de/intevation/flys/client/server/DataFactory.java: Added further methods to create concrete Data instances for specific data types. 2012-01-31 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java: Fix strange "javascript-npes" which occurred when clicking and pressing enter too fast. 2012-01-31 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java: Added documentation, minor cleanup. Added KeyPressHandler to km-spinnerItem, lose focus on Enter-KeyPress. 2012-01-31 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java: Refactored und introduces a temproray regression: Update only when losing the focus (not on click or enter- press). 2012-01-31 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/DataFactory.java: New. This class should be used to create new Data instances. * src/main/java/de/intevation/flys/client/server/ArtifactDescriptionFactory.java: Use DataFactory to create new Data instances for the old Data objects contained in the static ui part of the Artifact's DESCRIBE document. 2012-01-30 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ManualPointsEditor.java: Adjusted table height to fill the window. 2012-01-30 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ManualPointsEditor.java: Get the axes name from collection settings and use them as header. 2012-01-30 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ManualPointsEditor.java: Use outputmodes name to handle manual points on a per-chart basis. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java, src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java: Pass outputmode name to ManualPointEditor. * src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java, src/main/java/de/intevation/flys/client/client/ui/OutputTab.java: Add accessor to outputmode. 2012-01-30 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java, src/main/java/de/intevation/flys/client/client/ui/DistancePanel.java, src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java: Show count of hits in filtered input helper tables. * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n string. 2012-01-30 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/RangeData.java: Added getDefaultLower() and getDefaultUpper() methods. * src/main/java/de/intevation/flys/client/shared/model/IntegerRangeData.java: Added a new constructor that takes default values for min and max and implemented the getDefaultLower() and getDefaultUpper() methods. * src/main/java/de/intevation/flys/client/server/ArtifactDescriptionFactory.java: Read default values for min and max data items from DESCRIBE document. * src/main/java/de/intevation/flys/client/client/ui/RangePanel.java: Initialize the min and max field with default values provided by RangeData's getDefaultLower() and getDefaultUpper() methods. 2012-01-30 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ManualPointsEditor.java: Added basic validation of entered values at a higher level. Removed TODOs, cosmetics. 2012-01-30 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ManualPointsEditor.java: Set activity field to 'active' by default. 2012-01-27 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ManualPointsEditor.java: Added dummy handling for new boolean 'active' flag of each point. Refactoring. * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added translations for manual points related words. 2012-01-27 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ManualPointsEditor.java: Added basic validation and improved editing function to manual point editor. Minor refac. 2012-01-27 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ManualPointsEditor.java: Made previously entered values edit- and removable, added TODOs. 2012-01-27 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartPropertiesEditor.java, src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java: Docu-waitforit-mentation. 2012-01-27 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added translations for manual points related words. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java: Added context menu to open point editor from themepanel. 2012-01-27 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added accidentally ommitted german translation, use key when building ui. 2012-01-27 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Invested 2 seconds after losing 3. 2012-01-27 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java, src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java, src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java, src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java, src/main/java/de/intevation/flys/client/client/ui/map/MapThemePanel.java, src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java: Refactored to not hold own reference to Collection, always use Views one instead. 2012-01-27 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/WQSimpleArrayPanel.java: Implemented the first part of createOld(). TODO: display selected data. 2012-01-27 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/RangeData.java: New interface for ranges that declares two methods getUpper() and getLower(). * src/main/java/de/intevation/flys/client/shared/model/IntegerRangeData.java: Subclasses RangeData. * src/main/java/de/intevation/flys/client/client/ui/RangePanel.java: Implemented the createOld() method. * src/main/java/de/intevation/flys/client/client/ui/IntegerRangePanel.java: Cast objects returned by IntegerRangeData's getLower() and getUpper() method to Integer. The signature of both methods have changed slightly. 2012-01-27 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java: Added i18n for points-button. 2012-01-27 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ManualPointsEditor.java: Transfer name of points. Resolved various i18n TODOs. Minor layout improvement. 2012-01-27 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added translations for manual points related words. 2012-01-27 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java, src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java, src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java: Pass updated collection to ManualPointsEditor, like this freshly added points are visible when opening the editor next time. 2012-01-27 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartPropertiesEditor.java, src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: Cosmetics, docs. 2012-01-27 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ManualPointsEditor.java: Fire RedrawRequest when finished adding points. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java: Register RedrawRequestHandler with ManualPointsEditor. 2012-01-27 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java, src/main/java/de/intevation/flys/client/client/ui/chart/ManualPointsEditor.java, src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java, src/main/java/de/intevation/flys/client/client/ui/map/FloodMap.java: Cosmetics, removed obsolete imports. 2012-01-27 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ManualPointsEditor.java: Cosmetics. 2012-01-26 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n string for PDF export button. 2012-01-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> Added basic UI to enter 'manual points'. * src/main/java/de/intevation/flys/client/client/ui/chart/ManualPointsEditor.java: New. UI to enter and modify manual points. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java: Modified constructor to avoid passing unused parameters, instantiate ManualPointsEditor on users command. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: Reflect change in ChartToolbars constructor. (getView): New. 2012-01-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> In preparation of 'manual points' feature, opened Collection interface. * src/main/java/de/intevation/flys/client/shared/model/Collection.java, src/main/java/de/intevation/flys/client/shared/model/DefaultCollection.java: (getItem): Pick CollectionItem by identifier. 2012-01-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/Recommendation.java: Fix typo, doc. * src/main/java/de/intevation/flys/client/client/ui/DatacageTwinPanel.java, src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java, src/main/java/de/intevation/flys/client/client/ui/chart/ChartPropertiesEditor.java, src/main/java/de/intevation/flys/client/client/ui/PropertyEditor.java: Cosmetics. 2012-01-25 Raimund Renkert <raimund.renkert@intevation.de> Issue 265. * src/main/java/de/intevation/flys/client/client/ui/map/FloodMap.java: Added method to activate/deactivate scale line. The method removes the control on deactivation and adds the control on activation. * src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java: Implements TabSelectedHandler now. If the tab is selected, the scale line and measure control are deactivated. Scale line is activated if the tab is selected. 2012-01-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java: Fix typo, more stub for add points ui. 2012-01-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java: (adjustImageButton): Extracted/Refactored. Laid minimal groundstep for adding points ui. 2012-01-24 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Suppress onCollectionChange event if an artifact is added to the collection to avoid loading maps twice. The event is triggered by the describeCollection call. 2012-01-24 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/DistancePanel.java, src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java: Added filter implementation for input helper tables. 2012-01-24 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java: Added filter criterion and clear filter on tab selection changed and input mode changed. 2012-01-24 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java: Apply the filter input on the tables. * src/main/java/de/intevation/flys/client/client/ui/RangeTableFilter.java: Added validator to the input fields. Validates data on key up event. * src/main/java/de/intevation/flys/client/client/event/RangeFilterEvent.java: Use Float as data type instead of String. * src/main/java/de/intevation/flys/client/client/utils/DoubleValidator.java: Return false if the FormItem is null. 2012-01-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: Added UI for the simple case of the "Bezugslinienverfahren" ("W auf freier Strecke"). * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties: Adjusted i18n. 2012-01-23 Raimund Renkert <raimund.renkert@intevation.de> Added UI parts and event for filtering distances and locations. * src/main/java/de/intevation/flys/client/client/ui/RangeTableFilter.java: New. Creates textitems for user input. * src/main/java/de/intevation/flys/client/client/event/RangeFilterEvent.java: New. The range filter events contains the 'from' and 'to' value. * src/main/java/de/intevation/flys/client/client/event/FilterHandler.java: Added new filter criteria changed method. * src/main/java/de/intevation/flys/client/client/ui/TableFilter.java: Set the textitem width to a fix value. * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java, src/main/java/de/intevation/flys/client/client/ui/DistancePanel.java, src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java: Added UI parts to Panels. * src/main/java/de/intevation/flys/client/client/ui/ProjectList.java: Empty implementation for range filter event. The project list has no ranges to filter. * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n strings for new filter. 2012-01-20 Raimund Renkert <raimund.renkert@intevation.de> Add cross sections loaded from datacage to the master artifacts list. * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java: Overrides updateGrid() to update the list of master artifacts, too. 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de> Fix flys/issue458 (typo). * src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Fix typo in key for translation. 2012-01-20 Raimund Renkert <raimund.renkert@intevation.de> Set the empty facet to invisible. * src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java: Hide empty facets in theme list. 2012-01-20 Raimund Renkert <raimund.renkert@intevation.de> Added new artifact to be able to open existing 'new chart' projects. * src/main/java/de/intevation/flys/client/shared/model/ChartArtifact.java: New. Artifact for 'new chart' module. * src/main/java/de/intevation/flys/client/server/FLYSArtifactCreator.java: Create a ChartArtifact if the artifact name equals 'new_chart'. 2012-01-19 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/WQSimpleArrayPanel.java, src/main/java/de/intevation/flys/client/client/ui/RangePanel.java: Removed useless imports. 2012-01-19 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/WQSimpleArrayPanel.java: New. This widget allows choosing between W/Q mode and inserting values as array. * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added labels for historical WQ selection used in WQSimpleArrayPanel. * src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java: Create new instances of WQSimpleArrayPanel if ui provider is set to 'wq_simple_array'. 2012-01-19 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/IntegerOptionsData.java, src/main/java/de/intevation/flys/client/shared/model/IntegerArrayData.java: New Data types for better handling of options (radio buttons) and integer arrays. * src/main/java/de/intevation/flys/client/server/ArtifactDescriptionFactory.java: Create new instances of IntegerOptionsData if the type is 'intoptions' and new instances of IntegerArrayData if type is 'intarray'. 2012-01-19 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java: Read river from artifact description in state.chart.river to be able to load the list of locations. 2012-01-19 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Set the collection if all recommended artifacts are loaded or the collection has no recommended artifacts. 2012-01-18 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/IntegerRangeData.java: Modified getItems(): it will now return a single DataItem which value consists of the min and max value seperated by a ';'. * src/main/java/de/intevation/flys/client/client/ui/TimerangePanel.java: Removed, because there is no time relevant code here. All code has moved to IntegerRangePanel. * src/main/java/de/intevation/flys/client/client/ui/IntegerRangePanel.java: Added new methods getLowerAsInt() and getUpperAsInt() and setMaxLower() and setMaxUpper() from TimerangePanel. Furthermore, the still missing getData() method has been implemented. It returns a single IntegerRangeData object. * src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java: Create new instances of IntegerRangePanel if the ui provider is set to 'intrange'. * src/main/java/de/intevation/flys/client/client/ui/RangePanel.java: The range panel stores the data name now and has new methods that return the lower and upper value. 2012-01-18 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/RangePanel.java: New. This panel allows inserting two values (min and max) for ranges. It is abstract, so concrete subclasses are required. * src/main/java/de/intevation/flys/client/client/ui/IntegerRangePanel.java: New. A subclass of RangePanel that allows inserting an integer range. * src/main/java/de/intevation/flys/client/client/ui/TimerangePanel.java: New. A subclass of IntegerRangePanel that requires an IntegerRangeData object to set the min and max values for the range. * src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java: Create new instances of TimerangePanel if the ui provider is set to 'timerange'. 2012-01-18 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/IntegerRangeData.java: New. This Data instance is used to save data objects with an integer range. * src/main/java/de/intevation/flys/client/server/ArtifactDescriptionFactory.java: Create new instances of IntegerRangeData if the data type is 'intrange'. 2012-01-16 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/FLYSArtifactCreator.java: Repaired MapArtifact creation: create new instances of this type if the name of the Artifact (provided in the DESCRIBE document) equals 'new_map'. The internal name of the MapArtifact has changed in the last commits. 2012-01-13 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ModuleSelection.java: Renamed new chart module. 2012-01-13 Felix Wolfsteller <felix.wolfsteller@intevation.de> Implemented synchronous navigationi of cross section profiles.. * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added translation for synchronous navigation. * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java: Allow switching of manyfeed/synchronous navigation via context menu. 2012-01-13 Felix Wolfsteller <felix.wolfsteller@intevation.de> Added feedMany() function to FeedService to feed multiple artifacts at once. * src/main/java/de/intevation/flys/client/client/services/FeedService.java, src/main/java/de/intevation/flys/client/client/services/FeedServiceAsync.java, src/main/java/de/intevation/flys/client/server/FeedServiceImpl.java: (feedMany): New. Still issue single feeds per artifact but with only one async callback. 2012-01-13 Felix Wolfsteller <felix.wolfsteller@intevation.de> Cosmetics. * src/main/java/de/intevation/flys/client/shared/model/Theme.java: Doc added. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java: Cosmetics, doc. 2012-01-12 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/MapArtifact.java, src/main/java/de/intevation/flys/client/client/ui/ModuleSelection.java: Changed the visible i18n strings for module 'new map.' * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n string for module 'new map'. 2012-01-12 Raimund Renkert <raimund.renkert@intevation.de> Issue451. * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Load and add all recommendations together in one async request using the LoadArtifactService. This is a better way to avoid loading multiple map tabs and reduces the amount of async requests. 2012-01-12 Felix Wolfsteller <felix.wolfsteller@intevation.de> Partial flys/issue441 (Fl�che �ber HSQ (zweite Achse) verkehrt). * src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java: Adjust data content to what is expected on server side (to allow unique identification of facets). 2012-01-12 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/MapArtifact.java: New. Map artifact for module 'new map'. The artifact allows to open an existing map project. * src/main/java/de/intevation/flys/client/server/FLYSArtifactCreator.java: Create a new map artifact if the artifact name is 'map'. 2012-01-12 Raimund Renkert <raimund.renkert@intevation.de> Issue451. * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Added recommendations queue. The queue avoids loading more than one map output tab. 2012-01-11 Felix Wolfsteller <felix.wolfsteller@intevation.de> Partial flys/issue439 (Streckenfavoriten lassen sich nicht �ber den Datenkorb hinzuladen) * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added "annotation" translation. 2012-01-11 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/server/MapOutputServiceImpl.java: Find the output mode in collection to request the correct map. * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n string for error message. 2012-01-11 Raimund Renkert <raimund.renkert@intevation.de> Issue 435. * src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java: Changed request redraw event parameter from 'RESET' to 'DEFAULT'. 2012-01-11 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartPropertiesEditor.java: Fixed initial boolean value setting. 2012-01-11 Raimund Renkert <raimund.renkert@intevation.de> Improved validation and property handling. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartPropertiesEditor.java: Changed the way of validating and setting values. * src/main/java/de/intevation/flys/client/client/utils/Validator.java, src/main/java/de/intevation/flys/client/client/utils/DoubleValidator.java, src/main/java/de/intevation/flys/client/client/utils/IntegerValidator.java: Changed the validator to an interface and removed the ChangedHandler implementation. The concrete validators implement the new interface. * src/main/java/de/intevation/flys/client/shared/model/PropertySetting.java, src/main/java/de/intevation/flys/client/shared/model/BooleanProperty.java, src/main/java/de/intevation/flys/client/shared/model/DoubleProperty.java, src/main/java/de/intevation/flys/client/shared/model/IntegerProperty.java, src/main/java/de/intevation/flys/client/shared/model/StringProperty.java: The concrete property classes return the appropriate value type for better handling. * src/main/java/de/intevation/flys/client/server/CollectionHelper.java: Set the values via toString() to describe document. 2012-01-09 Raimund Renkert <raimund.renkert@intevation.de> Issue 358. * src/main/java/de/intevation/flys/client/client/utils/DoubleValidator.java: Added method to convert double values to a protocoll conform string. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartPropertiesEditor.java: Convert double values to i18n conform strings. 2012-01-09 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartPropertiesEditor.java: Fixed initial values of boolean properties. 2012-01-09 Raimund Renkert <raimund.renkert@intevation.de> Implemented the validators more object oriented. * src/main/java/de/intevation/flys/client/client/utils/Validator.java: Removed the concrete validate methods. * src/main/java/de/intevation/flys/client/client/utils/DoubleValidator.java, src/main/java/de/intevation/flys/client/client/utils/IntegerValidator.java: New. Implemented concrete validators. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartPropertiesEditor.java: Use the new validators to validate the input values. 2012-01-09 Raimund Renkert <raimund.renkert@intevation.de> Issue 433. Allways load original chart settings when opening the dialog. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartPropertiesEditor.java: Clone the settings object and set the original values while initializing the dialog. * src/main/java/de/intevation/flys/client/shared/model/Property.java, src/main/java/de/intevation/flys/client/shared/model/PropertySetting.java, src/main/java/de/intevation/flys/client/shared/model/PropertyGroup.java, src/main/java/de/intevation/flys/client/shared/model/BooleanProperty.java, src/main/java/de/intevation/flys/client/shared/model/DoubleProperty.java, src/main/java/de/intevation/flys/client/shared/model/IntegerProperty.java, src/main/java/de/intevation/flys/client/shared/model/StringProperty.java, src/main/java/de/intevation/flys/client/shared/model/OutputSettings.java: Made the properties and settings classes cloneable. * src/main/java/de/intevation/flys/client/shared/model/Collection.java: Added a method of DefaultCollection to the interface. 2012-01-09 Raimund Renkert <raimund.renkert@intevation.de> Issue 358. Validate dialog on accept. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartPropertiesEditor.java: Validate all forms before updating the chart. * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n string for error message. 2012-01-09 Raimund Renkert <raimund.renkert@intevation.de> Issue 358. Axis range fix. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartPropertiesEditor.java: Changed 'from' and 'to' fields for axis fixation. * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Changed i18n strings for 'from' and 'to'. 2012-01-09 Raimund Renkert <raimund.renkert@intevation.de> Issue 358. Validation. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartPropertiesEditor.java: Added validator to integer and double field items. * src/main/java/de/intevation/flys/client/client/utils/Validator.java: New. Validator for SmartGWT FormItems. Currently validates integer and double values. 2012-01-06 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java: Survive if no style for given Facet exists, notify user. 2012-01-06 Ingo Weinzierl <ingo@intevation.de> flys/issue196 (i18n/l10n: Zahlenformate einheitlich) * src/main/java/de/intevation/flys/client/client/ui/wq/QDTable.java, src/main/java/de/intevation/flys/client/client/ui/wq/WTable.java: Set a CellFormatter for the W/Q/D columns that localizes the double values. 2012-01-06 Felix Wolfsteller <felix.wolfsteller@intevation.de> flys/issue442 (i18n: Datenkorb: flood-protections) * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added "flood_protection" translation. 2012-01-04 Felix Wolfsteller <felix.wolfsteller@intevation.de> Adjusted the 'master' and 'km' mechanisms of CrossSections to server-side changes, set stepwidth of spinner to hektokilometer. * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java: Do not need to sendFeed for km/master setting, set spinners stepwidth to hektokilometer. 2012-01-04 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java: Added support for multiple point sizes. 2012-01-04 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added strings used in the theme editor. 2012-01-04 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/UserCollectionsServiceImpl.java, src/main/java/de/intevation/flys/client/client/services/UserCollectionsServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/UserCollectionsService.java, src/main/java/de/intevation/flys/client/client/FLYS.java, src/main/java/de/intevation/flys/client/client/ui/ParameterList.java, src/main/java/de/intevation/flys/client/client/ui/CollectionView.java, src/main/java/de/intevation/flys/client/client/ui/ProjectList.java, src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: Removed unused Config.getServerUrl() calls. 2012-01-04 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added strings displayed in the theme editor. 2012-01-02 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java: Set with of DoubleRangePanel to 400. 2012-01-02 Ingo Weinzierl <ingo@intevation.de> flys/issue302 (Uncaught exception wenn bei Wasserspiegellage-Berechnung kein W/Q angegeben wird) * src/main/java/de/intevation/flys/client/client/ui/DoubleRangePanel.java: Catch a NumberFormatException in validateForm() and return in such cases false for an invalid DoubleRangePanel. * src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: Catch NullPointerExceptions when fetching from, to and step values from DoubleRangePanel. Use DoubleRangePanel.validateForm() (with no parameters) to validate the DoubleRangePanel correctly. * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added errors/warnings. 2012-01-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> Added and fixed translations of theme style properties. * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added and fixed translations of theme style properties. 2012-01-02 Ingo Weinzierl <ingo@intevation.de> flys/issue431 (Karte: Hinzuladen externer WMS Layer nicht m�glich) * src/main/java/de/intevation/flys/client/server/CapabilitiesParser.java: Added support for WMS 1.3.0: the projection's are defined in a <CRS> element instead of <SRS> in version 1.1.0. 2012-01-02 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/CapabilitiesParser.java: The URL to a Capabilities document is determined by a string property "test.wms" in main(). * src/main/java/de/intevation/flys/client/shared/model/WMSLayer.java, src/main/java/de/intevation/flys/client/shared/model/Capabilities.java: Override toString(). 2012-01-02 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/TableDataPanel.java: Improved the TableDataPanel, so that it is able to support CSV exports with more that 5 columns. In addition, a small performance optimization has been done: the Locale and the NumberFormat is created outside the loop that walks over all rows. 2011-12-29 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: Introduced fields and methods to support free Q values. This panel now has the cases: 1) W array input 2) W range input 3) Q array input 4) Q range input 5) Q free array input 6) Q free range input 2011-12-27 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java: Set widt=-1 and height=-1 for exports. This allows the server to distinguish between a chart export (as PNG, PDF and SVG) and the display in the UI. 2011-12-27 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added strings for the chart properties dialog's export section. 2011-12-23 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartPropertiesEditor.java: Update chart if properties are changed successfully. 2011-12-23 Raimund Renkert <raimund.renkert@intevation.de> * src/main/webapp/images/properties.gif: Modified icon background to transparent. 2011-12-23 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/CSVExportServiceImpl.java: Skip empty lines. 2011-12-22 Raimund Renkert <raimund.renkert@intevation.de> Issue 427. * src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java: Changed visible strings in editor window to i18n strings. * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n strings for editor window. 2011-12-22 Raimund Renkert <raimund.renkert@intevation.de> Save output settings. * src/main/java/de/intevation/flys/client/server/CollectionHelper.java: Create the XML elements for output settings. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartPropertiesEditor.java: Added handler to UI elements and call CollectionAttributeService to save the new settings. * src/main/java/de/intevation/flys/client/shared/model/PropertySetting.java: Fixed typo. 2011-12-22 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/CSVExportServiceImpl.java: This service now skips lines that begin with a "#". This character is used in FLYS as the beginning of a comment line. 2011-12-22 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java: Refactored, use string constant. Uncommented some code paths and mark with todo, as they lead to not yet well-understood side-effects. 2011-12-22 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java (artifactReference, dataOf): Extracted and use new helper. (CROSS_KM): Extracted and use static string. (findCurrentCSMaster): Set km of collectionviews master. Resolved some todos. 2011-12-22 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/map/MapThemePanel.java, src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java, src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java, src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java: Set CollectionView in constructor. 2011-12-22 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/ThemeList.java: (getTheme): New, search theme(s) with uuid. 2011-12-22 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java: When changing cross-section-masters kilometer in cross sections, also feed the collection-master-artifact with the kilometer, so that it can be displayed in the diagrams subtitle. 2011-12-22 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: Introduce CollectionView to all ChartPanel types. 2011-12-21 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java: Renamed 'Master' to 'CSMaster' to avoid confusion between MasterArtifact of Collection, CrossSection Master and Master of the Universe. 2011-12-21 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java: Fix over axis case, added new "over axis" menu item. * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added translation for new menuitem. 2011-12-21 Raimund Renkert <raimund.renkert@intevation.de> * src/main/webapp/FLYS.css: Added style for properties dialog axis tab. 2011-12-21 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ModuleSelection.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Changed i18n strings. 2011-12-21 Raimund Renkert <raimund.renkert@intevation.de> * src/main/webapp/images/properties.gif: New. Added properties dialog icon. 2011-12-21 Raimund Renkert <raimund.renkert@intevation.de> Create the properties dialog dynamically. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartPropertiesEditor.java: Create the content based on the properties read from describe collection document. * src/main/java/de/intevation/flys/client/shared/model/PropertyGroup.java: Added getter for single property by name. * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n strings. 2011-12-20 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/Collection.java: Added setter for settings. * src/main/java/de/intevation/flys/client/shared/model/DefaultCollection.java: Ensure the settings is not null. * src/main/java/de/intevation/flys/client/shared/model/OutputSettings.java: Ensure the categories object is not null. * src/main/java/de/intevation/flys/client/server/CollectionHelper.java: Extract and parse the output settings. 2011-12-20 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/PropertySetting.java, src/main/java/de/intevation/flys/client/shared/model/PropertyGroup.java, src/main/java/de/intevation/flys/client/shared/model/Property.java, src/main/java/de/intevation/flys/client/shared/model/StringProperty.java: Removed code for UI generation. SmartGWT classes are not usable on serverside and in model classes. 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java: Feed artifact with new area.between parameter, fix inversed assignment of 'over' and 'under'. 2011-12-20 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/BooleanProperty.java, src/main/java/de/intevation/flys/client/shared/model/DoubleProperty.java, src/main/java/de/intevation/flys/client/shared/model/IntegerProperty.java: New. Property classes for outup settings. 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java: Add other.wkms to list of area-compatible facets. 2011-12-20 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: Adapted the seperator character which is used to devide Ws and Qs (this character has changed in flys-artifacts). 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java: Removed obsolete imports. 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java, src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java: Minor refactoring to reuse existing code. 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java: Add area-context menus. Most duplicate of code in CrossSectionChartThemePanel, which will be merged in near future. 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added area-creation related strings and their translation. 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de> Cosmetics. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java, src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java: Minor, picky cosmetics. 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de> Changed area-creation gui (menu) to cover three basic area modes under, over and between. Feed new area.facet data understood by area artifact to discern which diagram we are talking about. * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java: Create different context menu to create area artifacts, feed area.facet data item to area artifact. 2011-12-19 Felix Wolfsteller <felix.wolfsteller@intevation.de> Restore functionality of hand-sorted properties in style dialog, which was removed by last commit. Carry better variable naming and feature of displaying not-whitelisted properties over. Added comment to prevent other people from "optimizing". * src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java: Add properties in defined order. Add properties that do not occur in ordered list last. 2011-12-19 Felix Wolfsteller <felix.wolfsteller@intevation.de> Minor refactoring to ease addition of new (theme-style) settings. * src/main/java/de/intevation/flys/client/shared/model/Style.java: Added getter for list of settings. * src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java: Minor renaming, consume list instead of whitequerying entries. 2011-12-19 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/CollectionHelper.java, src/main/java/de/intevation/flys/client/shared/model/PropertySetting.java, src/main/java/de/intevation/flys/client/shared/model/OutputSettings.java, src/main/java/de/intevation/flys/client/shared/model/Property.java, src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java, src/main/java/de/intevation/flys/client/client/ui/chart/ChartPropertiesEditor.java: Removed unused imports. 2011-12-19 Ingo Weinzierl <ingo@intevation.de> flys/issue409 (�berschwemmungsfl�che: Reihenfolge in Themenliste nicht immer synchron mit Rendering) * src/main/java/de/intevation/flys/client/client/ui/map/FloodMap.java: Added a addLayer() method which should be used to add new layers to the map. New layers are always displayed at the bottom of the layer stack. * src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java: Use FloodMap.addLayer() to add new layers instead of adding them directly to the Map. * src/main/java/de/intevation/flys/client/client/ui/map/MapThemePanel.java: Removed the re-order process of map layers. This is no longer necessary, because MapOutputTab uses FloodMap.addLayer() to add new layers instead of adding new layers on its own using Map.addLayer() directly. 2011-12-19 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added strings that force the user to select a DEM. * src/main/java/de/intevation/flys/client/client/ui/DemDatacagePanel.java: Override validate() to make sure, that the user has selected a DEM. Otherwise, a popup is displayed. 2011-12-19 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added error strings for DEM selection. 2011-12-19 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java: Feed name-data-item to area artifact, refresh collection. Set initial master for cross sections to be first area artifact in collection. Set step-size for spinner to 0.5. Added click handlers for "over" and "under" menu items. 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> Bring further UI regarding area creation (in cross-sections). * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java (createAreaArtifact): New, create an areaartifact. (feedTellArea): New, feed an areaartifact with relevant information. (getSingleContextMenu): New, add further (sub)menuitems to trigger area creation. 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java: (createSeparator): New, create a menuitem separator. 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/server/LoadArtifactServiceImpl.java, src/main/java/de/intevation/flys/client/server/CollectionItemAttributeServiceImpl.java, src/main/java/de/intevation/flys/client/server/MetaDataServiceImpl.java, src/main/java/de/intevation/flys/client/shared/model/Recommendation.java, src/main/java/de/intevation/flys/client/shared/model/DefaultData.java, src/main/java/de/intevation/flys/client/client/services/LoadArtifactService.java, src/main/java/de/intevation/flys/client/client/services/FeedService.java, src/main/java/de/intevation/flys/client/client/ui/DatacageTwinPanel.java, src/main/java/de/intevation/flys/client/client/ui/DatacageWindow.java: Cosmetics, doc. 2011-12-15 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/PropertyGroup.java: Fixed return type. 2011-12-15 Raimund Renkert <raimund.renkert@intevation.de> Added missing interface. * src/main/java/de/intevation/flys/client/client/ui/PropertyEditor.java: New. Interface for property dialogs. 2011-12-15 Raimund Renkert <raimund.renkert@intevation.de> Added interfaces and classes for output settings. * src/main/java/de/intevation/flys/client/shared/model/Property.java, src/main/java/de/intevation/flys/client/shared/model/PropertySetting.java, src/main/java/de/intevation/flys/client/shared/model/PropertyGroup.java, src/main/java/de/intevation/flys/client/shared/model/StringProperty.java: New. Interface and container for output properties. * src/main/java/de/intevation/flys/client/shared/model/Settings.java, src/main/java/de/intevation/flys/client/shared/model/OutputSettings.java: New. Interface and container for properties. * src/main/java/de/intevation/flys/client/server/CollectionHelper.java: Added methods to extract output properties. * src/main/java/de/intevation/flys/client/shared/model/Collection.java, src/main/java/de/intevation/flys/client/shared/model/DefaultCollection.java: Added getter/setter for settings. 2011-12-13 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java: Minor refactoring. Correct intial settings for master-cs-artifact and chosen km. 2011-12-13 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/ThemeList.java: Fix. Respect fact that ThemeLists indices are not 0-based. 2011-12-13 Felix Wolfsteller <felix.wolfsteller@intevation.de> For CrossSections, enable kilometer- and master-selection from client. * src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added translation. * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java: Added input element to select a (cross section) master and make km spinners work. 2011-12-13 Felix Wolfsteller <felix.wolfsteller@intevation.de> Provide access to Artifacts Data via Themes and CollectionItems. * src/main/java/de/intevation/flys/client/server/CollectionHelper.java: Register data (key/value) from artifacts in CollectionItems. Associate Themes with CollectionItems. * src/main/java/de/intevation/flys/client/shared/model/Theme.java: Added Accessors for CollectionItem. * src/main/java/de/intevation/flys/client/shared/model/DefaultTheme.java, src/main/java/de/intevation/flys/client/shared/model/AttributedTheme.java: Added Accessors and instance of CollectionItem. * src/main/java/de/intevation/flys/client/shared/model/CollectionItem.java, src/main/java/de/intevation/flys/client/shared/model/DefaultCollectionItem.java: Allow access to data from artifact, cosmetics. * src/main/java/de/intevation/flys/client/shared/model/Collection.java, src/main/java/de/intevation/flys/client/shared/model/DefaultCollection.java: Added setter for ThemeList(s). * src/main/java/de/intevation/flys/client/shared/model/DefaultData.java: (createSimpleStringData, createSimpleStringDataArray): Convenvience/ helpers. * src/main/java/de/intevation/flys/client/shared/model/ThemeList.java: Helpers to get maps that map relevant information. 2011-12-13 Felix Wolfsteller <felix.wolfsteller@intevation.de> Fix CrossSectionKMService. * src/main/java/de/intevation/flys/client/server/CrossSectionKMServiceImpl.java: Use correct, badly named looping index. 2011-12-12 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/map/MapPositionPanel.java: Set width to 150px and set alignment to RIGHT. * src/main/java/de/intevation/flys/client/client/ui/map/MeasureControl.java: Set width to 100. * src/main/java/de/intevation/flys/client/client/ui/map/MapToolbar.java: Added a label that displays the current projection. Wrapped this label and the mouse coordinates into a new layout which is RIGHT aligned in the toolbar. 2011-12-12 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added links to a cancel button and strings for a "Calculation canceled" message. * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Register the ParameterList as StepBackHandler on the LoadingPanel. * src/main/java/de/intevation/flys/client/client/ui/LoadingPanel.java: The loading dialog now includes a button to stop a running calculation. Stopping a running calculation means to return to the previous state. * src/main/webapp/images/cancelCalculation.png: New. An image for a cancel button. 2011-12-12 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartPropertiesEditor.java: Filled the window with property fields. * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n strings for property fields. 2011-12-12 Felix Wolfsteller <felix.wolfsteller@intevation.de> Cosmetics. * src/main/java/de/intevation/flys/client/shared/model/Collection.java, src/main/java/de/intevation/flys/client/shared/model/DefaultCollection.java: Documentation. (getLastAccess): Added TODO. Never called, can it be removed? * src/main/java/de/intevation/flys/client/server/CreateCollectionServiceImpl.java, src/main/java/de/intevation/flys/client/server/DistanceInfoServiceImpl.java, src/main/java/de/intevation/flys/client/shared/model/ArtifactFilter.java, src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java: Minor Cosmetics. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java: Minor refactoring, extracted createLayout. 2011-12-09 Raimund Renkert <raimund.renkert@intevation.de> Added stub for chart property editor. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java: Added button for chart properties editor. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartPropertiesEditor.java: New. Create window with tabs for chart properties. * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n strings. 2011-12-09 Raimund Renkert <raimund.renkert@intevation.de> Issue 377. * src/main/webapp/FLYS.css: Added border style for floodmap. 2011-12-08 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/webapp/WEB-INF/web.xml: Registered CrossSectionKM servlet. 2011-12-08 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/server/CrossSectionKMServiceImpl.java, src/main/java/de/intevation/flys/client/client/services/CrossSectionKMServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/CrossSectionKMService.java: Added client to CrossSectionKMService. 2011-12-08 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/server/LoadArtifactServiceImpl.java, src/main/java/de/intevation/flys/client/server/CollectionItemAttributeServiceImpl.java, src/main/java/de/intevation/flys/client/server/FeedServiceImpl.java, src/main/java/de/intevation/flys/client/server/SetCollectionNameServiceImpl.java, src/main/java/de/intevation/flys/client/server/ChartInfoServiceImpl.java, src/main/java/de/intevation/flys/client/server/UserServiceImpl.java, src/main/java/de/intevation/flys/client/server/CollectionAttributeServiceImpl.java, src/main/java/de/intevation/flys/client/server/MetaDataServiceImpl.java, src/main/java/de/intevation/flys/client/server/ExportServiceImpl.java, src/main/java/de/intevation/flys/client/server/MapInfoServiceImpl.java, src/main/java/de/intevation/flys/client/server/SetCollectionTTLServiceImpl.java, src/main/java/de/intevation/flys/client/server/DescribeCollectionServiceImpl.java, src/main/java/de/intevation/flys/client/server/GetArtifactServiceImpl.java, src/main/java/de/intevation/flys/client/server/ArtifactServiceImpl.java, src/main/java/de/intevation/flys/client/server/CSVExportServiceImpl.java, src/main/java/de/intevation/flys/client/server/DescribeArtifactServiceImpl.java, src/main/java/de/intevation/flys/client/server/StepForwardServiceImpl.java, src/main/java/de/intevation/flys/client/server/AdvanceServiceImpl.java, src/main/java/de/intevation/flys/client/server/WQInfoServiceImpl.java, src/main/java/de/intevation/flys/client/server/AddArtifactServiceImpl.java, src/main/java/de/intevation/flys/client/server/DistanceInfoServiceImpl.java, src/main/java/de/intevation/flys/client/server/RemoveArtifactServiceImpl.java, src/main/java/de/intevation/flys/client/server/ReportServiceImpl.java, src/main/java/de/intevation/flys/client/server/DeleteCollectionServiceImpl.java, src/main/java/de/intevation/flys/client/server/CreateCollectionServiceImpl.java, src/main/java/de/intevation/flys/client/server/ChartOutputServiceImpl.java, src/main/java/de/intevation/flys/client/server/DistanceInfoXML.java, src/main/java/de/intevation/flys/client/server/RiverServiceImpl.java, src/main/java/de/intevation/flys/client/client/services/MetaDataServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/DeleteCollectionService.java, src/main/java/de/intevation/flys/client/client/services/CreateCollectionService.java, 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/client/services/DescribeCollectionServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/LoadArtifactServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/DescribeArtifactServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/LoadArtifactService.java, src/main/java/de/intevation/flys/client/client/services/StepForwardServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/CollectionItemAttributeService.java, src/main/java/de/intevation/flys/client/client/services/FeedServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/FeedService.java, src/main/java/de/intevation/flys/client/client/services/DistanceInfoServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/AddArtifactServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/SetCollectionNameService.java, src/main/java/de/intevation/flys/client/client/services/ChartInfoServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/DeleteCollectionServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/CollectionAttributeServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/ChartInfoService.java, src/main/java/de/intevation/flys/client/client/services/UserService.java, src/main/java/de/intevation/flys/client/client/services/CollectionAttributeService.java, src/main/java/de/intevation/flys/client/client/services/MetaDataService.java, src/main/java/de/intevation/flys/client/client/services/MapInfoServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/MapInfoService.java, src/main/java/de/intevation/flys/client/client/services/SetCollectionTTLServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/ArtifactServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/CSVExportServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/GetArtifactServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/SetCollectionTTLService.java, src/main/java/de/intevation/flys/client/client/services/DescribeCollectionService.java, src/main/java/de/intevation/flys/client/client/services/CollectionItemAttributeServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/ArtifactService.java, src/main/java/de/intevation/flys/client/client/services/CSVExportService.java, src/main/java/de/intevation/flys/client/client/services/GetArtifactService.java, src/main/java/de/intevation/flys/client/client/services/DescribeArtifactService.java, src/main/java/de/intevation/flys/client/client/services/AdvanceServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/StepForwardService.java, src/main/java/de/intevation/flys/client/client/services/AdvanceService.java, src/main/java/de/intevation/flys/client/client/services/WQInfoServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/WQInfoService.java, src/main/java/de/intevation/flys/client/client/services/DistanceInfoService.java, src/main/java/de/intevation/flys/client/client/services/AddArtifactService.java, src/main/java/de/intevation/flys/client/client/services/SetCollectionNameServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/ReportServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/RemoveArtifactServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/ReportService.java, src/main/java/de/intevation/flys/client/client/services/RemoveArtifactService.java, src/main/java/de/intevation/flys/client/client/services/UserServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/CreateCollectionServiceAsync.java, src/main/java/de/intevation/flys/client/client/ui/TableDataPanel.java, src/main/java/de/intevation/flys/client/client/ui/DatacageTwinPanel.java, src/main/java/de/intevation/flys/client/client/ui/ParameterList.java, src/main/java/de/intevation/flys/client/client/ui/DatacageWindow.java, src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java, src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java, src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java, src/main/java/de/intevation/flys/client/client/ui/CollectionView.java, src/main/java/de/intevation/flys/client/client/ui/DigitizePanel.java, src/main/java/de/intevation/flys/client/client/ui/LoadingPanel.java, src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java, src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java, src/main/java/de/intevation/flys/client/client/ui/ProjectList.java, src/main/java/de/intevation/flys/client/client/ui/WspDatacagePanel.java, src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java, src/main/java/de/intevation/flys/client/client/ui/DatacageWidget.java, src/main/java/de/intevation/flys/client/client/FLYS.java: Removed the URL parameter from service calls. The service implementations read the URL from the web.xml config file now. 2011-12-08 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Fixed typo in (German) translation. 2011-12-08 Ingo Weinzierl <ingo@intevation.de> flys/issue421 (Diagramm: L�schen eines Thema ohne R�ckfrage beim Nutzer) * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added strings used when the user is asked if he is sure to remove selected themes. * src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java, src/main/java/de/intevation/flys/client/client/ui/map/MapThemePanel.java: Ask before removing themes. 2011-12-06 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/map/MapThemePanel.java: Reorder the layers in the map at the end of the layers initialization. A reordering is necessary, because the order in the map is reflected considering the order in the map theme panel. 2011-12-05 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added strings for buttons used in ExternalWMSWindow. * src/main/java/de/intevation/flys/client/client/ui/map/ExternalWMSWindow.java: Use i18n strings for back, continue and cancel button. 2011-11-28 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/map/CapabilitiesPanel.java: Display only information that really exist. 2011-11-28 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/WMSLayer.java: Added a method supportsSrs(String srs) that determines, if the WMS layer supports a given SRS. The 'srs' parameter needs to start with "EPSG:", otherwise this prefix is appended automatically. * src/main/java/de/intevation/flys/client/client/ui/map/MapToolbar.java: Create the ExternalWMSWindow with the SRS definition of FloodMap. * src/main/java/de/intevation/flys/client/client/ui/map/ExternalWMSWindow.java: Added a new constructor that takes a SRS. This srs is used to instantiate the WMSLayersTree. * src/main/java/de/intevation/flys/client/client/ui/map/WMSLayersTree.java: Added a new constructor that takes a SRS. If a SRS is specified, this tree only displays layers that support the specified SRS. 2011-11-28 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/CapabilitiesParser.java: New. An explicit parser for WMS capabilities documents. Its code has been moved from GCServiceImpl. In addition to the implementation of GCServiceImpl, this parser also reads the SRS definition of a layer. * src/main/java/de/intevation/flys/client/server/LoggingConfigurator.java: New. This class is used to initialize logging via Apache Log4j. Its code has been moved from BaseServlet. * src/main/java/de/intevation/flys/client/server/GCServiceImpl.java: Removed code to fetch and parse WMS Capabilities documents. This work is done using CapabilitiesParser. * src/main/java/de/intevation/flys/client/server/BaseServlet.java: Removed code to initialize Log4j logging. This work is done using LoggingConfigurator. * src/main/java/de/intevation/flys/client/shared/model/WMSLayer.java: Added a list of SRS definitions (List<String>). 2011-11-23 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/GCServiceImpl.java: Improved parsing Capabilities document - the root node of the document can be "/WMS_Capabilities" oder "WMT_MS_Capabilities" now. 2011-11-22 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java: Trigger the update of MapThemePanel after adding external WMS layers. 2011-11-22 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/WMSLayer.java: Added the URL of the WMS server to the constructor parameterlist, because this information is absolutely required for a WMS layer. * src/main/java/de/intevation/flys/client/server/GCServiceImpl.java: Modified the constructor call of WMSLayer. * src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java: Add WMS layers by using LoadArtifactService.loadMany() which creates a new Artifact for each WMS layer. TODO: Trigger reload of MapThemePanel. 2011-11-22 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/LoadArtifactServiceImpl.java, src/main/java/de/intevation/flys/client/client/services/LoadArtifactServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/LoadArtifactService.java: Removed the "url" from loadMany()'s parameterlist. We are able to fetch the required Artifact-Server URL from ServletContext since I have introduced a BaseServlet. * src/main/java/de/intevation/flys/client/client/ui/DatacageTwinPanel.java: Removed the "url" from method call of LoadArtifactService.loadMany(). 2011-11-22 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/map/ExternalWMSWindow.java: Defined an internal interface LayerLoader to load selected WMSLayers of the tree. The constructor of ExternalWMSWindow now requires an instance of LayerLoader. The "go on" button in the layer panel will finally trigger the LayerLoader.load() method. * src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java: Implements the ExternalWMSWindow.LayerLoader interface to add the selected WMS layers to the map. TODO: implement code to load/add layers. * src/main/java/de/intevation/flys/client/client/ui/map/WMSLayersTree.java: Added an inner class WMSLayerNode that extends TreeNode with the addition to save a WMSLayer object. The reason here: we want to have all information of the selected WMS layers for loading mechanisms. * src/main/java/de/intevation/flys/client/client/ui/map/MapToolbar.java: Modified the constructor call of ExternalWMSWindow. The MapOutputTab is used as ExternalWMSWindow.LayerLoader. 2011-11-21 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/WMSLayer.java: New. This class stores layer information provided by capabilities document. Note, that a WMSLayer can have further sublayers. * src/main/java/de/intevation/flys/client/server/GCServiceImpl.java: Parse layers from capabilities document. * src/main/java/de/intevation/flys/client/client/ui/map/WMSLayersTree.java: New. This tree displays WMSLayers. * src/main/java/de/intevation/flys/client/shared/model/Capabilities.java: Now, the list of layers is from type List<WMSLayer> instead of List<String>. * src/main/java/de/intevation/flys/client/client/ui/map/ExternalWMSWindow.java: Use the WMSLayersTree to display the layers provided by the given WMS service. 2011-11-21 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/map/ExternalWMSWindow.java: Introduced I18N. * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added strings used in ExternalWMSWindow. 2011-11-21 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/ContactInformation.java: New. This class is used to store contact information from Capabilities documents. * src/main/java/de/intevation/flys/client/shared/model/Capabilities.java: Added title, onlineResource and ContactInformation. * src/main/java/de/intevation/flys/client/server/GCServiceImpl.java: Read more meta information from capabilities document. * src/main/java/de/intevation/flys/client/client/ui/map/ExternalWMSWindow.java: Center this window after stepping from URL input to information panel. * src/main/java/de/intevation/flys/client/client/ui/map/CapabilitiesPanel.java: Display all information from Capabilities object and introduced I18N. * src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties: Added strings used in the CapabilitiesPanel. * src/main/webapp/FLYS.css: Defined a style class for the user hint in the CapabilitiesPanel. 2011-11-21 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/Capabilities.java: New. This class is used to store information of a document returned by a WMS GetCapabilities request. * src/main/java/de/intevation/flys/client/server/GCServiceImpl.java, src/main/java/de/intevation/flys/client/client/services/GCServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/GCService.java: A new service that fetches a GetCapabilities document of a given server. It returns a Capabilities object that stores the information of the response. * src/main/java/de/intevation/flys/client/client/ui/map/CapabilitiesPanel.java: New. This VLayout is used to display FLYS relevant information of a Capabilities object. TODO: I18N. * src/main/java/de/intevation/flys/client/client/ui/map/ExternalWMSWindow.java: Make use of GCService to query the Capabilities of the user specified WMS. * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added error strings used in the GCServiceImpl. * src/main/webapp/WEB-INF/web.xml: Registered the GCService. 2011-11-21 Ingo Weinzierl <ingo@intevation.de> * src/main/webapp/images/addWMS.png: Replaced by the same icon but with transparent background. 2011-11-18 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/map/ExternalWMSWindow.java: New. This control is used to add map layers from external WMS. * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added links to icon and tooltip for ExternalWMSWindow control. * src/main/java/de/intevation/flys/client/client/ui/map/MapToolbar.java: Added the ExternalWMSWindow control. * src/main/webapp/images/addWMS.png: New. Icon for ExternalWMSWindow control. 2011-11-18 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/GFIServiceImpl.java: Removed needless imports. 2011-11-18 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/map/MapToolbar.java, src/main/java/de/intevation/flys/client/client/ui/map/GetFeatureInfo.java: Fetch the list of themes used for the GetFeatureInfo request on the fly from MapThemePanel. 2011-11-18 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/map/MapThemePanel.java, src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java: Use the correct names of created WMS layers - which is no longer Theme.getDescription() but AttributedTheme.getAttr("layers"). 2011-11-18 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/FeatureInfo.java: New. This object is used to store information retrieved by a GetFeatureInfo response. A FeatureInfo object consists of a layername and an attribute map. * src/main/java/de/intevation/flys/client/server/GFIServiceImpl.java, src/main/java/de/intevation/flys/client/client/services/GFIServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/GFIService.java: Modified the return value of this service. It will now return a list of FeatureInfo objects. This list is parsed from GetFeatureInfo response on our own. Relevant attributes of a feature are extracted. * src/main/java/de/intevation/flys/client/client/ui/map/GetFeatureInfo.java: Adjusted the return value of GFIService. * src/main/java/de/intevation/flys/client/client/ui/map/GetFeatureInfoWindow.java: Takes a list of FeatureInfo. Each FeatureInfo object is displayed in a row which contains all the attributes of the object. * src/main/webapp/FLYS.css: Added a style class for the GetFeatureInfo response row displayed in GetFeatureInfoWindow. 2011-11-17 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java, src/main/java/de/intevation/flys/client/client/ui/wq/QDTable.java, src/main/java/de/intevation/flys/client/client/ui/range/LocationsTable.java, src/main/java/de/intevation/flys/client/client/ui/range/RangeTable.java, src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java, src/main/java/de/intevation/flys/client/client/ui/MapSelection.java, src/main/java/de/intevation/flys/client/client/ui/FLYSHeader.java, src/main/java/de/intevation/flys/client/client/ui/LoadingPanel.java, src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java, src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java: Removed needless imports. 2011-11-17 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/GFIServiceImpl.java, src/main/java/de/intevation/flys/client/client/services/GFIServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/GFIService.java: New. A service that calls the WMS GetFeatureInfo operation. The result of this service is currently the response text, which is slightly modified to fulfill the requirements of the OpenLayers GML parser. * src/main/java/de/intevation/flys/client/client/ui/map/GetFeatureInfo.java: New. This control starts a WMS GetFeatureInfo by using the GFIService and displays the resulting features in a GetFeatureInfoWindow. * src/main/java/de/intevation/flys/client/client/ui/map/GetFeatureInfoWindow.java: New. This window is used to display all attributes of a set of OpenLayers VectorFeatures. * src/main/java/de/intevation/flys/client/client/ui/OutputTab.java: Added a public method to retrieve the current Collection. * src/main/java/de/intevation/flys/client/client/ui/map/MapToolbar.java: Added the GetFeatureInfo control. * src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java: Modified the call of OpenLayers WMS(). The names of the layers are the 'layers' attribute provided in the facet. * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added tooltips for GetFeatureInfo control, error message for the GFIService and links to an icon used for the GetFeatureInfo control. * src/main/webapp/images/getFeatureInfo_Selected.png, src/main/webapp/images/getFeatureInfo.png: New. Icons for the GetFeatureInfo control. * src/main/webapp/WEB-INF/web.xml: Registered the GFIService. 2011-11-17 Raimund Renkert <raimund.renkert@intevation.de> Issue312: Moved images to completly support IE7. * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added Images to constants. * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java, src/main/java/de/intevation/flys/client/client/ui/wq/QDTable.java, src/main/java/de/intevation/flys/client/client/ui/range/LocationsTable.java, src/main/java/de/intevation/flys/client/client/ui/range/RangeTable.java, src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java, src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java, src/main/java/de/intevation/flys/client/client/ui/MapSelection.java, src/main/java/de/intevation/flys/client/client/ui/FLYSHeader.java, src/main/java/de/intevation/flys/client/client/ui/LoadingPanel.java, src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java: Get image urls from constants to support IE7. * src/main/java/de/intevation/flys/client/client/images/downloadPNG.png, src/main/java/de/intevation/flys/client/client/images/flys_logo.gif, src/main/java/de/intevation/flys/client/client/images/loading.gif, src/main/java/de/intevation/flys/client/client/images/bfg_logo.gif, src/main/java/de/intevation/flys/client/client/images/marker_green.png, src/main/java/de/intevation/flys/client/client/images/downloadPDF.png, src/main/java/de/intevation/flys/client/client/images/downloadSVG.png, src/main/java/de/intevation/flys/client/client/images/gewkarte.png, src/main/java/de/intevation/flys/client/client/images/marker_red.png: Removed. * src/main/webapp/images/loading.gif src/main/webapp/images/bfg_logo.gif src/main/webapp/images/marker_red.png src/main/webapp/images/flys_logo.gif src/main/webapp/images/marker_green.png src/main/webapp/images/downloadPDF.png src/main/webapp/images/gewkarte.png src/main/webapp/images/downloadPNG.png src/main/webapp/images/downloadSVG.png: Added images. 2011-11-14 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/map/FloodMap.java: Added a ScaleLine control to the map. 2011-11-11 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/map/FloodMap.java: Added an update() method that redraws all layers contained in the current map. * src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java: Registered MapOutputTab as RedrawRequestHandler. When receiving a RedrawRequestEvent, that map is updated (layers are redrawn). 2011-11-11 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/map/FloodMap.java, src/main/java/de/intevation/flys/client/client/ui/map/MapPositionPanel.java, src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java: Removed needless imports. 2011-11-11 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added strings for datacage's 'floodmap' section. 2011-11-10 Raimund Renkert <raimund.renkert@intevation.de> Issue 339. * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java: Do not wrap the radio button label. 2011-11-10 Raimund Renkert <raimund.renkert@intevation.de> Issue 338. * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java: Increased input field width. 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de> Fix cloning of static data artifacts, resolved todos. * src/main/java/de/intevation/flys/client/client/ui/DatacageTwinPanel.java: Remove temporary hack that depended on dc conf. 2011-11-10 Raimund Renkert <raimund.renkert@intevation.de> Issue 355. * src/main/java/de/intevation/flys/client/client/ui/ProjectList.java: Cancel the double click event for projectlist header. 2011-11-10 Raimund Renkert <raimund.renkert@intevation.de> Issue 342 * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java: The tables have now a unified design. All columns are set to left align and decimal separators are set to ',' in german and '.' in the english version. 2011-11-09 Raimund Renkert <raimund.renkert@intevation.de> Issue 265. * src/main/java/de/intevation/flys/client/client/ui/map/MapPanel.java: Added getter for toolbar. * src/main/java/de/intevation/flys/client/client/ui/map/MapToolbar.java, src/main/java/de/intevation/flys/client/client/ui/DigitizePanel.java: Hide the barrier layer and deactivate draw control on stacksection minimize. 2011-11-08 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ParameterList.java: Expand the map selection section in helper panel on project start. 2011-11-08 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/DistancePanel.java: Set value "distance" for attribute "ld_mode". * src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java Set value "locations" for attribute "ld_mode". 2011-11-08 Raimund Renkert <raimund.renkert@intevation.de> Issue 294. * src/main/java/de/intevation/flys/client/client/ui/map/MapToolbar.java, src/main/java/de/intevation/flys/client/client/ui/map/MapPositionPanel.java, src/main/java/de/intevation/flys/client/client/ui/map/MapPanel.java: Removed the wrapper canvas. The only function of this wrapper was to calculate the mouse position. This is now done by the map itself. * src/main/java/de/intevation/flys/client/client/ui/map/FloodMap.java: Update map size and center. * src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java: Redesigned the layout and resize handler. Removed wrapper canvas. 2011-11-04 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties: Bugfix: Added a missing string that prevented packaging the client. * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties: Synced with FLYSConstants.properties. 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de> Added translations for datacage-element- strings. * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties: Added tranlations, corrected one. 2011-11-03 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java: Added methods to add and remove Layer instance to/from Map and grant public access to createWMSLayer() method. * src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java: Moved code to add new FacetRecords to the grid to an own method addFacetRecord(). * src/main/java/de/intevation/flys/client/client/ui/map/MapThemePanel.java: Override addFacetRecord() to be able to detect new FacetRecords. In this case, we gonna create new WMS layers based on the FacetRecord and add a new Layer object to the Map. Override createRemoveItem() which removes a layer from Map and from ThemePanel. 2011-11-01 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java: Updated the theme editor window layout. 2011-11-01 Raimund Renkert <raimund.renkert@intevation.de> Issue 400. * src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java: Iterate over a list of all theme settings to display all available settings. 2011-11-01 Felix Wolfsteller <felix.wolfsteller@intevation.de> Cosmetics, Refactoring. * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java (createSpinnerHandler): Extracetd, to improve readability. * src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java (requestRedraw): Made final to be accessible from extracted handler construction in CrossSectionChartThemePanel. 2011-11-01 Felix Wolfsteller <felix.wolfsteller@intevation.de> Fix flys/issue306 (CrossSections: Remove functionality from table header). * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java: Disable context menu on listgrid header. 2011-10-31 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/map/MapThemePanel.java: Override getSingleContextMenu() to add a "zoom to layer" menu item which is specific to the map. This menu item is displayed if the specific theme has an "extent" attribute set. If the item is clicked, the LayerZoomCallback is called. * src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java: Implements the LayerZoomCallback to zoom to the extent of a specific layer. * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added strings for the "zoom to layer" menu item. 2011-10-28 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/MapHelper.java: New. It currently provides a method that parses a MapConfig from Document. * src/main/java/de/intevation/flys/client/shared/model/MapConfig.java: New. This object saves values in a HashMap. Some basic information like srid, max extent and initial extent can be set/get via methods. * src/main/java/de/intevation/flys/client/client/services/MapOutputServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/MapOutputService.java, src/main/java/de/intevation/flys/client/server/MapOutputServiceImpl.java: This service now returns an instance of MapConfig that contains some basic information required by OpenLayers to create maps. * src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java: OpenLayers maps are created using the MapConfig returned by MapOutputService but the layers added to the map are taken from MapThemePanel to keep the ThemePanel and the Map in sync. * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added error strings for the case that no map config was retrieved in MapOutputService. 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/DatacageWindow.java: Let datacage-window include the "static" part. Note that now many options might be shown with which interaction might not lead to the epected results. 2011-10-26 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/BaseServlet.java: Added a an environment variable FLYS_CLIENT_LOG4J_PROPERIES that might be used to use an alternative log4j.properties instead of the default one which comes with the SVN. This variable needs to point to a properties file. 2011-10-26 Ingo Weinzierl <ingo@intevation.de> * .: Modified svn:ignore property to ignore log4j.properties. 2011-10-25 Ingo Weinzierl <ingo@intevation.de> * src/main/webapp/WEB-INF/web.xml: Added a context parameter that might be used to determine the URL of the Artifact server. * src/main/java/de/intevation/flys/client/client/services/MapOutputServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/MapOutputService.java, src/main/java/de/intevation/flys/client/server/MapOutputServiceImpl.java: Removed the URL parameter from doOut(). This parameter is fetched from ServletContext. * src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java: Modified the call of MapOutputService.doOut(). 2011-10-25 Raimund Renkert <raimund.renkert@intevation.de> Issue 118/203 * src/main/java/de/intevation/flys/client/client/ui/wq/QDTable.java: Added attribute to lock the table if the input rows are hidden. * src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: Ignore clicks if the table is locked and clear values on input mehtod change. * src/main/java/de/intevation/flys/client/client/ui/DoubleArrayPanel.java: Clear the input values if the input array length is 0. * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Updated i18n strings. 2011-10-25 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/LoadArtifactServiceImpl.java, src/main/java/de/intevation/flys/client/server/CollectionItemAttributeServiceImpl.java, src/main/java/de/intevation/flys/client/server/MapOutputServiceImpl.java, src/main/java/de/intevation/flys/client/server/FeedServiceImpl.java, src/main/java/de/intevation/flys/client/server/meta/Converter.java, src/main/java/de/intevation/flys/client/server/SetCollectionNameServiceImpl.java, src/main/java/de/intevation/flys/client/server/ChartInfoServiceImpl.java, src/main/java/de/intevation/flys/client/server/UserCollectionsServiceImpl.java, src/main/java/de/intevation/flys/client/server/UserServiceImpl.java, src/main/java/de/intevation/flys/client/server/CollectionAttributeServiceImpl.java, src/main/java/de/intevation/flys/client/server/MetaDataServiceImpl.java, src/main/java/de/intevation/flys/client/server/ExportServiceImpl.java, src/main/java/de/intevation/flys/client/server/MapInfoServiceImpl.java, src/main/java/de/intevation/flys/client/server/SetCollectionTTLServiceImpl.java, src/main/java/de/intevation/flys/client/server/DescribeCollectionServiceImpl.java, src/main/java/de/intevation/flys/client/server/GetArtifactServiceImpl.java, src/main/java/de/intevation/flys/client/server/ArtifactServiceImpl.java, src/main/java/de/intevation/flys/client/server/CSVExportServiceImpl.java, src/main/java/de/intevation/flys/client/server/DescribeArtifactServiceImpl.java, src/main/java/de/intevation/flys/client/server/StepForwardServiceImpl.java, src/main/java/de/intevation/flys/client/server/AdvanceServiceImpl.java, src/main/java/de/intevation/flys/client/server/WQInfoServiceImpl.java, src/main/java/de/intevation/flys/client/server/AddArtifactServiceImpl.java, src/main/java/de/intevation/flys/client/server/DistanceInfoServiceImpl.java, src/main/java/de/intevation/flys/client/server/FLYSArtifactCreator.java, src/main/java/de/intevation/flys/client/server/DoCollectionAction.java, src/main/java/de/intevation/flys/client/server/ReportServiceImpl.java, src/main/java/de/intevation/flys/client/server/RemoveArtifactServiceImpl.java, src/main/java/de/intevation/flys/client/server/DeleteCollectionServiceImpl.java, src/main/java/de/intevation/flys/client/server/ChartServiceHelper.java, src/main/java/de/intevation/flys/client/server/CreateCollectionServiceImpl.java, src/main/java/de/intevation/flys/client/server/ChartOutputServiceImpl.java, src/main/java/de/intevation/flys/client/server/DistanceInfoXML.java, src/main/java/de/intevation/flys/client/server/ArtifactDescriptionFactory.java, src/main/java/de/intevation/flys/client/server/RiverServiceImpl.java, src/main/java/de/intevation/flys/client/server/CollectionHelper.java, src/main/java/de/intevation/flys/client/server/ArtifactHelper.java, src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java: Replaced logging to stderr and stdout with log4j loggers. 2011-10-25 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/BaseServlet.java: New. This HttpServlet is used to setup some config stuff like log4j configuration. * src/main/webapp/WEB-INF/log4j.properties: A Log4J configuration file. * src/main/webapp/WEB-INF/web.xml: Registered the BaseServlet which is loaded initially to setup config stuff. * pom.xml: Added Apache Log4J dependency. 2011-10-25 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/services/MapOutputServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/MapOutputService.java, src/main/java/de/intevation/flys/client/server/MapOutputServiceImpl.java: New (but not finished yet). This service calls the out() REST resource of an ArtifactCollection and should (work in progress) return a map configuration which will be used to initialize an OpenLayers map. * src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java: Call the MapOutputService while instantiating a new MapOutputTab but there is no code that handles the response yet (because the service currently doesn't return a value). * src/main/webapp/WEB-INF/web.xml: Registered the new MapOutputService. 2011-10-24 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/Toolbar.java: New. An abstract toolbar that acts as parent for ChartToolbar and MapToolbar. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java, src/main/java/de/intevation/flys/client/client/ui/map/MapToolbar.java: Subclass Toolbar which now makes the datacage stuff. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java, src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java: Adjusted the constructor call of OutputTab which now takes an instance of CollectionView. * src/main/java/de/intevation/flys/client/client/ui/OutputTab.java: Stores an instance of CollectionView and implements methods to retrieve the current user and artifact. 2011-10-24 Felix Wolfsteller <felix.wolfsteller@intevation.de> Fix flys/issue390 (W-Diff: Icon zum L�schen anpassen). * src/main/java/de/intevation/flys/client/client/ui/DatacageTwinPanel.java: Polishing and use different icon to remove rows in selections listgrid. 2011-10-24 Felix Wolfsteller <felix.wolfsteller@intevation.de> Replaced icons white by a transparent background. * src/main/webapp/images/removeFeature.png: Added transparency to white background. 2011-10-21 Ingo Weinzierl <ingo@intevation.de> flys/issue352 (W-INFO / WSP: Markierung bei Verschieben in Steuerung geht verloren) * src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java: Keep grid selection alive after theme has been modified. 2011-10-21 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java: Renamed 'textbackground' to 'backgroundcolor'. 2011-10-20 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java: Display new attributes in editor window. 2011-10-20 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java: Moved the context menu handler to constructor to have the menu available in each subclass. 2011-10-20 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java: Reordered the attribute list. 2011-10-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java, src/main/java/de/intevation/flys/client/client/ui/ExportPanel.java: Removed superfluous imports. 2011-10-19 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: Modified the visual result of createOld() which will now display each W or Q in a single row. 2011-10-19 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java: Group the theme attributes. 2011-10-19 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java: Convert all color attributes from html to rgb notation. 2011-10-19 Felix Wolfsteller <felix.wolfsteller@intevation.de> Added a displayName propertie to Recommendations and add names to data String such that they survive a "backjump" (reparameterization). * src/main/java/de/intevation/flys/client/client/ui/DatacageWidget.java, src/main/java/de/intevation/flys/client/shared/model/ToLoad.java: Keep displayNames for recommendations. * src/main/java/de/intevation/flys/client/shared/model/Recommendation.java: Added displayName, getter and setter. * src/main/java/de/intevation/flys/client/client/ui/DatacageTwinPanel.java: Set displayName for create recommendations, add it to Data String. * src/main/java/de/intevation/flys/client/client/ui/DatacagePairWidget.java, src/main/java/de/intevation/flys/client/client/ui/RecommendationPairRecord.java: Do not store name separately from Recommendation 2011-10-19 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/ChartServiceHelper.java: Add the format string into the xml document for querying charts. 2011-10-19 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java: Removed unused string which has been commited by mistake. 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> Make "zus" and flood protections usable for W-Differences (with yet many constraints, e.g. server will fail if flood protection is subtrahend). * src/main/java/de/intevation/flys/client/client/ui/DatacageTwinPanel.java: Discern static and calculated data by pretty ugly hack, set factory to "clone" with accordingly. * src/main/java/de/intevation/flys/client/client/ui/DatacagePairWidget.java: Request the system ("static") part of datacage in wdiff-input selection as well. * src/main/java/de/intevation/flys/client/client/ui/DatacageWidget.java: Enable hack in DatacageTwinPanel, set ids to id content, such that recommendations and toloads can be created from selected elements in Datacage. * src/main/java/de/intevation/flys/client/shared/model/Recommendation.java: (setFactory): Allow to change factory during live time. 2011-10-18 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java: Prepared editor UI for annotation styling. 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> Minor cosmetics. * src/main/java/de/intevation/flys/client/client/services/MetaDataService.java, src/main/java/de/intevation/flys/client/client/Config.java, src/main/java/de/intevation/flys/client/client/ui/DatacagePanel.java: Cosmetics (whitespace). 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/server/LoadArtifactServiceImpl.java: Allow to load Artifacts with different factories in one go (as fallback). Documentation added. 2011-10-18 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/Style.java, src/main/java/de/intevation/flys/client/shared/model/StyleSetting.java, src/main/java/de/intevation/flys/client/shared/model/CollectionItemAttribute.java, src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java: Added documentation. 2011-10-17 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/ChartOutputServiceImpl.java: Added support for chart exports. If the Http parameter "export=true" is set, the header of the Http request is modified to trigger a download. Currently, PNG, SVG and PDF export is supported. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java: Added a method that returns the URL for a chart export. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: Added download icons for png, pdf and svg. * src/main/java/de/intevation/flys/client/client/FLYSImages.java: Added images for png/pdf/svg downloads. * src/main/java/de/intevation/flys/client/client/images/downloadPNG.png, src/main/java/de/intevation/flys/client/client/images/downloadPDF.png, src/main/java/de/intevation/flys/client/client/images/downloadSVG.png: New. Icons for png/pdf/svg export of charts. 2011-10-17 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ImgLink.java: New. This class creates a link with an image. * src/main/java/de/intevation/flys/client/client/ui/ExportPanel.java: Makes use of ImgLink to create export icons. 2011-10-17 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/CollectionHelper.java: Bugfix: adjusted a method call of XMLUtils.ElementCreator.addAttr() which avoided compiling flys-client. 2011-10-17 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java: Use images for line type and line size selection. * src/main/webapp/images/linestyle-dash-10.png, src/main/webapp/images/linestyle-dash-10-5.png, src/main/webapp/images/linestyle-1px.png, src/main/webapp/images/linestyle-2px.png, src/main/webapp/images/linestyle-3px.png, src/main/webapp/images/linestyle-4px.png, src/main/webapp/images/linestyle-5px.png, src/main/webapp/images/linestyle-dash-20-10.png, src/main/webapp/images/linestyle-6px.png, src/main/webapp/images/linestyle-dash-30-10.png, src/main/webapp/images/linestyle-7px.png, src/main/webapp/images/linestyle-8px.png, src/main/webapp/images/linestyle-dash-20-5-15-5.png: New. 2011-10-17 Ingo Weinzierl <ingo@intevation.de> flys/issue253 (Diagramm: Mehrfachauswahl zum Verschieben/Löschen auf Themen) * src/main/java/de/intevation/flys/client/shared/model/Theme.java, src/main/java/de/intevation/flys/client/shared/model/DefaultTheme.java, src/main/java/de/intevation/flys/client/shared/model/AttributedTheme.java: Prepared Themes to support a "visible" attribute. * src/main/java/de/intevation/flys/client/server/CollectionHelper.java: Write the "visible" attribute of a Theme into the attribute of a Collection. * src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java: Do not display Themes which are not visible (getVisible() == 0). 2011-10-17 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java: Added new values for line type. 2011-10-17 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java, src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java: Set window position to page center. Removed parent element. 2011-10-17 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java: Show theme name in static text field. 2011-10-17 Raimund Renkert <raimund.renkert@intevation.de> Request redraw on attribute change. * src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java: Made request redraw method public and added method to show editor window. * src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java: Removed collection view, added theme panel. Request redraw on success. 2011-10-17 Felix Wolfsteller <felix.wolfsteller@intevation.de> Cosmetics, docs. * src/main/java/de/intevation/flys/client/client/ui/DatacageTwinPanel.java, src/main/java/de/intevation/flys/client/client/ui/RecommendationPairRecord.java, src/main/java/de/intevation/flys/client/client/ui/DoubleArrayPanel.java, src/main/java/de/intevation/flys/client/client/ui/DatacageWidget.java: Cosmetics, docs. * src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java: Cosmetics, docs, also made two methods static. 2011-10-17 Felix Wolfsteller <felix.wolfsteller@intevation.de> Donate own error for failcase of remove-artifact. * src/main/java/de/intevation/flys/client/server/CollectionHelper.java: Donated own error code for remove-artifact. 2011-10-17 Ingo Weinzierl <ingo@intevation.de> flys/issue366 (W-INFO / Abflusskurve, Diagramm: Umbenennen von Themen und Anzeige im Diagramm) * src/main/java/de/intevation/flys/client/shared/model/Theme.java, src/main/java/de/intevation/flys/client/shared/model/DefaultTheme.java, src/main/java/de/intevation/flys/client/shared/model/AttributedTheme.java: Added a setter method for descriptions. * src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java: Description modifications will now be persisted to artifact server. 2011-10-14 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties: Added missing resources for datacage. 2011-10-14 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/server/CollectionItemAttributeServiceImpl.java: Set the correct index when saving changed attributes. 2011-10-14 Ingo Weinzierl <ingo@intevation.de> flys/issue288 (ÜSK: Legende hinzufügen) * src/main/java/de/intevation/flys/client/shared/MapUtils.java: New. Helper class for maps. * src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java: Set width and min width of MapThemePanel to 300px and allow to resize it. * src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java: Moved Record and ListGrid creation out to own methods which subclasses can override. * src/main/java/de/intevation/flys/client/client/ui/map/MapThemePanel.java: Override createNewGrid() to add a column for displaying legend items. * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added string for the "style" header in the MapThemePanel. 2011-10-14 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/Style.java, src/main/java/de/intevation/flys/client/shared/model/CollectionItemAttribute.java, src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java: Use the theme index to identify the correct style. * src/main/java/de/intevation/flys/client/server/CollectionItemAttributeServiceImpl.java: Set the style index. 2011-10-13 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/DatacageWidget.java: Removed top level '${datacage}' using CHILDREN mode for tree. Introduced i18n. If tree contains less the MAX_OPEN (30) nodes and leafs the tree is rendered all open. This minimizes clicks. * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties: i18n for data cage 2011-10-13 Ingo Weinzierl <ingo@intevation.de> * src/main/webapp/images/adjustElevation.png: Replaced old one that had a gray background with a new one with transparent background. 2011-10-13 Felix Wolfsteller <felix.wolfsteller@intevation.de> Added error message(i18n) for fail case of removeArtifactService. * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added error_remove_artifact . * src/main/java/de/intevation/flys/client/server/CollectionHelper.java: Resolved TODO by employing "own" error message (removeArtifact). 2011-10-13 Felix Wolfsteller <felix.wolfsteller@intevation.de> Removed obsolete imports. * src/main/java/de/intevation/flys/client/client/services/RemoveArtifactServiceAsync.java, src/main/java/de/intevation/flys/client/client/ui/DigitizePanel.java: Removed obsolete imports. 2011-10-13 Felix Wolfsteller <felix.wolfsteller@intevation.de> In W-Diff selection GUI, track which items have been removed from the listgrid, remove corresponding artifacts from collection if they are not needed anymore using the new RemoveArtifactService. * src/main/java/de/intevation/flys/client/client/ui/DatacageTwinPanel.java: Track removed items from ListGrid until clicking on "proceed". Then, check whether artifacts removed from the list are still needed to calculate other difference (which are still in the ListGrid), remove them otherwise. 2011-10-13 Felix Wolfsteller <felix.wolfsteller@intevation.de> Added helper in use of new RemoveArtifactService. * src/main/java/de/intevation/flys/client/server/CollectionHelper.java (removeArtifact): New method to remove an artifact from a collection. 2011-10-13 Felix Wolfsteller <felix.wolfsteller@intevation.de> Added implementation and configuration of RemoveArtifactService. * src/main/java/de/intevation/flys/client/server/RemoveArtifactServiceImpl.java, src/main/java/de/intevation/flys/client/client/services/RemoveArtifactServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/RemoveArtifactService.java: New files with implementation of RemoveArtifactService. * src/main/webapp/WEB-INF/web.xml: Register new servlet/service. 2011-10-13 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/server/CollectionHelper.java, src/main/java/de/intevation/flys/client/server/ArtifactHelper.java, src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java: Cosmetics, doc. 2011-10-13 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/map/MapToolbar.java: Moved code to mark features 'selected' to FloodMap. Display warnings if elevation control is clicked but no feature is selected or more than one feature is selected. * src/main/java/de/intevation/flys/client/client/ui/map/FloodMap.java: Do the "select feature" stuff here. Selected features will now have a fatter stroke. * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added warning and error messages used when elevation control is used. 2011-10-13 Sascha L. Teichmann <sascha.teichmann@intevation.de> Updated SmartGWT to 2.5 * pom.xml: Bumped SmartGWT from 2.4 to 2.5 * src/main/java/de/intevation/flys/client/FLYS.gwt.xml: Using Enterprise instead of EnterpriseBlue theme. 2011-10-13 Ingo Weinzierl <ingo@intevation.de> flys/issue297 (ÜSK: Eingabe von Höhen ermöglichen) * src/main/java/de/intevation/flys/client/client/ui/map/MapToolbar.java, src/main/java/de/intevation/flys/client/client/ui/map/FloodMap.java: Made those classes more robust while setting Styles for features without barrier type. * src/main/java/de/intevation/flys/client/client/ui/map/DrawControl.java: Moved the constant to mark features to FloodMap. Added a new control to adjust the elevation values of features. * src/main/java/de/intevation/flys/client/client/ui/map/ElevationWindow.java: New. This Window displays a grid that contains the vertices of the specified vector feature. Users are able to modify the elevation value for each vertex in the grid. * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: New strings used for the elevation control button/icon. * src/main/webapp/images/adjustElevation.png: A new icon used for the control to adjust the elevation values of features in the map. 2011-10-12 Ingo Weinzierl <ingo@intevation.de> flys/issue331 (ÜSK: OpenLayers innerhalb der eigenen Distribution bereitstellen) * src/main/webapp/FLYS.html: Fetch OpenLayers-2.11 lib from local server instead from remote repository. 2011-10-12 Ingo Weinzierl <ingo@intevation.de> flys/issue293 (ÜSK: Legende hinzufügen) * src/main/java/de/intevation/flys/client/client/ui/map/DrawControl.java: Added icons to the barrier combobox. * src/main/webapp/images/dam.png, src/main/webapp/images/pipe1.png, src/main/webapp/images/pipe2.png, src/main/webapp/images/ditch.png, src/main/webapp/images/ring_dike.png: New icons used in the barrier combobox in the digitize panel. 2011-10-12 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/CollectionItemAttributeServiceImpl.java: Throw a ServerException if no styles were found in the XML document. * src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java: Display a warning dialog if no style for the selected theme was found. * src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties: New error messages that are displayed if no style was found for a given theme. 2011-10-12 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java, src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java: Moved the ContextMenu creation from ChartThemePanel to ThemePanel - we want a ContextMenu in the ChartThemePanel as well. In addition, there are new menu items to activate/deactivate and remove themes. * src/main/java/de/intevation/flys/client/client/ui/chart/StyleEditorWindow.java, src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java: Moved the StyleEditorWindow to an upper package, because it will also be used in the map. * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added new strings for context menu items of the ThemePanel. 2011-10-12 Felix Wolfsteller <felix.wolfsteller@intevation.de> Validate selected pairs for differences, show errors if invalid. * src/main/java/de/intevation/flys/client/client/ui/DatacageTwinPanel.java (onClick, validate): Validate and show errors if data invalid. Cosmetics, removed junk and resolved respective todo, documentation. * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added error messages. 2011-10-12 Felix Wolfsteller <felix.wolfsteller@intevation.de> Show only "W"s in input helper for W-Diffs. * src/main/java/de/intevation/flys/client/client/ui/DatacageTwinPanel.java: Request (datacage-specific!) "waterlevels"-out instead of more general "longitudinal_section"-out. 2011-10-12 Felix Wolfsteller <felix.wolfsteller@intevation.de> Partial fix for flys/issue304 [1] (Erweiterte Funktionen W-Differenzen), enable multiple clones of same recommendation, but be 'sparse'. * src/main/java/de/intevation/flys/client/server/LoadArtifactServiceImpl.java (loadMany): While iterating over recommendations and creating clones, keep track of results, do not clone a second time if same recommendation is present multiple times in list, use "old" clone instead. Throw excpetion in fail-case. * src/main/java/de/intevation/flys/client/client/ui/DatacageTwinPanel.java: Use list instead of set, 'sparseness' is now achieved by LoadArtifactService. Docs, removed junk. 2011-10-11 Ingo Weinzierl <ingo@intevation.de> flys/issue300 (ÜSK: Reihenfolge der Ebenen findet keine Berücksichtigung) * src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java: Implemented a ThemeMovedCallback to synchronize the ThemePanel's layer order with the internal order of the Map. 2011-10-11 Felix Wolfsteller <felix.wolfsteller@intevation.de> Squashed "swapped minuend and subtrahend"-bug in wdiff calculation. * src/main/java/de/intevation/flys/client/client/ui/DatacageTwinPanel.java: Use LinkedHashSet instead of HashSet to keep the given order. Removed some debug statements. 2011-10-11 Felix Wolfsteller <felix.wolfsteller@intevation.de> Enable reparameterization of WINFO-Artifacts in WDiff-branch. Do not reclone in parameterization. * src/main/java/de/intevation/flys/client/client/ui/RecommendationPairRecord.java: Add flag to remember whether already cloned. * src/main/java/de/intevation/flys/client/client/ui/DatacageTwinPanel.java: Recreate already cloned pairs of Ws from datastring, do not reclone these. 2011-10-11 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java: Added a method fireThemeMoved which is called after a Theme in this panel is moved. * src/main/java/de/intevation/flys/client/client/ui/map/MapThemePanel.java: Added in internal interface ThemeMovedCallback which might be used to listen to theme move events. Therefore, MapThemePanel overrides the fireThemeMoved method and calls onThemeMoved() on ThemeMovedCallback if it exists. 2011-10-10 Ingo Weinzierl <ingo@intevation.de> * src/main/webapp/FLYS.html: Import OpenLayers 2.11. * pom.xml: Upgrade of GWT-OpenLayers from 0.5 to 0.6 2011-10-10 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/DatacagePairWidget.java: Removed obsolete imports. 2011-10-10 Ingo Weinzierl <ingo@intevation.de> flys/issue289 (ÜSK: Messen von Strecken und Flächen in falscher Dimension) * src/main/java/de/intevation/flys/client/client/ui/map/MeasureControl.java: Measured areas are now displayed in 'ha'. 2011-10-10 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/RecommendationPairRecord.java: Polish with doc, removed junk. 2011-10-10 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/RecommendationPairRecord.java: New file. Extracted from DatacagePairWidget. * src/main/java/de/intevation/flys/client/client/ui/DatacagePairWidget.java: Extracted RecommendationPairRecord implementation and constats. * src/main/java/de/intevation/flys/client/client/ui/DatacageTwinPanel.java: Improved displayed strings for selections of pairs. First steps towards the ability to jump back ("reparameterize") the artifact. Adjusted to RecommendationPairRecord-extraction. 2011-10-10 Ingo Weinzierl <ingo@intevation.de> flys/issue375 (ÜSK, Streckemessung) * src/main/java/de/intevation/flys/client/client/ui/map/MeasureControl.java: Added a formatter for lines and areas which is used to limit the number of fractions. 2011-10-10 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/DataList.java, src/main/java/de/intevation/flys/client/client/ui/TextProvider.java: Cosmetics (docs and whitespace). 2011-10-10 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/CollectionItemAttributeServiceImpl.java, src/main/java/de/intevation/flys/client/shared/model/Style.java, src/main/java/de/intevation/flys/client/client/services/CollectionItemAttributeService.java, src/main/java/de/intevation/flys/client/client/services/CollectionItemAttributeServiceAsync.java, src/main/java/de/intevation/flys/client/client/ui/DatacageTwinPanel.java, src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java, src/main/java/de/intevation/flys/client/client/ui/DatacagePairWidget.java: Removed superfluous imports. 2011-10-10 Ingo Weinzierl <ingo@intevation.de> flys/issue326 (Projektliste: Projekte ohne Parametrisierung werden angezeigt, können aber nicht geöffnet werden.) * src/main/java/de/intevation/flys/client/client/FLYS.java: Take care on empty projects while opening existing projects. Fetch the master Artifact only if the Collection has an Artifact set. * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Enabled CollectionView creation without Artifact but existing Collection. 2011-10-07 Ingo Weinzierl <ingo@intevation.de> flys/issue233 (W-Info: Dauerlinienberechnung / "Lädt Daten") * src/main/java/de/intevation/flys/client/client/ui/TableDataPanel.java: Force a redraw of the computation data grid if no data could be retrieved from server - this displays an error message. 2011-10-05 Raimund Renkert <raimund.renkert@intevation.de> Edited item attributes are saved and send to the server on accept. * src/main/java/de/intevation/flys/client/server/CollectionItemAttributeServiceImpl.java, src/main/java/de/intevation/flys/client/client/services/CollectionItemAttributeService.java, src/main/java/de/intevation/flys/client/client/services/CollectionItemAttributeServiceAsync.java: Added service method to save new item attributes. * src/main/java/de/intevation/flys/client/shared/model/Style.java: Added facet to style attributes. * src/main/java/de/intevation/flys/client/shared/model/CollectionItemAttribute.java: Added artifact uuid to collection item attributes. * src/main/java/de/intevation/flys/client/client/ui/chart/StyleEditorWindow.java: Added item changed handler to save new values and update the serverside values. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java: Set the selected facet record to the editor window. 2011-10-05 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/StyleEditorWindow.java: New methods for color transformation (html to rgb; rgb to html). 2011-10-04 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/StyleEditorWindow.java: Build up the editor window from CollectionItemAttribute response. * src/main/java/de/intevation/flys/client/shared/model/Style.java: Added getter for number of settings and settings based on the index. 2011-10-04 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added an error message that might be used if no calculation result was found for calculation result panel. * src/main/java/de/intevation/flys/client/client/ui/TableDataPanel.java: Improved error handling if no calculation result was found - display error message in this case. 2011-09-30 Ingo Weinzierl <ingo@intevation.de> flys/issue357 (W-Info / Wasserspiegellage, Diagramm) * src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java: Removed header title of selection column. 2011-09-30 Raimund Renkert <raimund.renkert@intevation.de> Added skeleton for editor window. * src/main/java/de/intevation/flys/client/client/ui/chart/StyleEditorWindow.java: New. Skeleton for editor window. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java, src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: Set the collection view as attribute to have a parent for the style editor window. * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added strings for the style editor window. 2011-09-30 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java: Added context menu to themes list. * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added string for context menu entry. 2011-09-30 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/server/CollectionItemAttributeServiceImpl.java, src/main/java/de/intevation/flys/client/shared/model/Style.java, src/main/java/de/intevation/flys/client/shared/model/StyleSetting.java, src/main/java/de/intevation/flys/client/shared/model/CollectionItemAttribute.java, src/main/java/de/intevation/flys/client/client/services/CollectionItemAttributeService.java, src/main/java/de/intevation/flys/client/client/services/CollectionItemAttributeServiceAsync.java: New. Added new service and model for collection item attributes. * src/main/webapp/WEB-INF/web.xml: Added the collection item attribute service. 2011-09-30 Felix Wolfsteller <felix.wolfsteller@intevation.de> Fix accidentally messed-up indentation. * src/main/java/de/intevation/flys/client/client/ui/DatacagePairWidget.java: Fix indentation. 2011-09-30 Felix Wolfsteller <felix.wolfsteller@intevation.de> Neaten displayed gridcontent when selecting waterlevels for wdiff, do not allow multi-selection. * src/main/java/de/intevation/flys/client/client/ui/DatacagePairWidget.java: Display facets name in table when selecting pairs. * src/main/java/de/intevation/flys/client/client/ui/DatacageWidget.java: (getSelectionTitle): New function to access visible titles of selection. 2011-09-29 Ingo Weinzierl <ingo@intevation.de> flys/issue179 (Zoom Out funktioniert nichtzuverlässig) * src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: Repaired broken zoom-out function. 2011-09-29 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java: Re-added the button to zoom-out by a given factor. Added a new one to step back to the last extent. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: Re-added the function to zoom-out by a given factor. * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added the path to the zoom-back icon. * src/main/webapp/images/zoom-back.png: New. Icon for the zoom-back button. 2011-09-29 Ingo Weinzierl <ingo@intevation.de> flys/issue198 (Diagramm: Zu vorheriger Zoomstufe per Klick zurückkehren) * src/main/java/de/intevation/flys/client/shared/model/ZoomObj.java: New. This object is used to save the zoom extent of charts. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java: The zoom-out button calls ChartOutputTab.zoomOut() without a integer value. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: The Zoom-Out action no longer zooms out for a specific factor, but to the last extent. The current extent of a chart is pushed onto a stack before a Zoom-In action takes place. Zoom-out then zooms to the last extent retrieved from the stack. 2011-09-29 Ingo Weinzierl <ingo@intevation.de> flys/issue336 (W-INFO / Berechnung Wasserstand an Orten, Zurodnung Bezugspegel) * src/main/java/de/intevation/flys/client/shared/model/DefaultArtifactDescription.java, src/main/java/de/intevation/flys/client/shared/model/ArtifactDescription.java: Added two new methods getRiver() (returns the selected river) and getKMRange() (returns the selected min/max KM values). * src/main/java/de/intevation/flys/client/shared/DoubleUtils.java: New. Utility class for working with double values. * src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: Moved the code to determine the min/max KM range and river out to ArtifactDescription. There, it is available for other classes as well. 2011-09-28 Ingo Weinzierl <ingo@intevation.de> flys/issue328 (W-INFO / ÜSK: Auswahl der Wasserspiegellage / Auswahlunterstützung) * src/main/java/de/intevation/flys/client/client/ui/WspDatacagePanel.java: Fetch datacage out 'waterlevels' only (possible since last rev in flys-artifacts). The datacage will provide W facets only - no Q facets are displayed. 2011-09-28 Ingo Weinzierl <ingo@intevation.de> flys/issue211 (W-INFO: Wasserspiegellagenberechnung / Auswahlunterstützung Abfluss) * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java: Reset values of km range mode if single km mode is selected and the other way arround. 2011-09-28 Ingo Weinzierl <ingo@intevation.de> flys/issue119 (W-INFO: Wasserspiegellagenberechnung / Dateneingabe ausserhalb des Wertebereichs) * src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: Display min/max values when input validation for ranges failed. 2011-09-28 Ingo Weinzierl <ingo@intevation.de> flys/issue111 (W-INFO: Wasserspiegellagenberechnung / Strecke) * src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: Reset the values of range mode if single mode is selected and the other way arround. 2011-09-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> Make rows of in list with differences (WDiff) removable. * src/main/java/de/intevation/flys/client/client/ui/DatacageTwinPanel.java: Make rows of in list with differences (WDiff) removable. 2011-09-27 Felix Wolfsteller <felix.wolfsteller@intevation.de> Use HashSet to avoid duplicate clones in Collections with WDiffs. * src/main/java/de/intevation/flys/client/client/ui/DatacageTwinPanel.java: Use HashSet instead of list to avoid duplicate clones, cosmetics. 2011-09-27 Felix Wolfsteller <felix.wolfsteller@intevation.de> Cosmetics, documentation. * src/main/java/de/intevation/flys/client/server/LoadArtifactServiceImpl.java (loadMany): Documented, added TODO. 2011-09-27 Felix Wolfsteller <felix.wolfsteller@intevation.de> Implement equals and hashCode for Recommendation, Recommendation.Facet and Recommendation.Filter . * src/main/java/de/intevation/flys/client/shared/model/Recommendation.java (equals, hashCode, Filter.equals, Filter.hashCode, Facet.equals) (Facet.hashCode): New. 2011-09-27 Ingo Weinzierl <ingo@intevation.de> flys/issue321 (ÜSK: Aktualisieren der Parameterliste nach Beendigung der Berechnung) * src/main/java/de/intevation/flys/client/client/ui/LoadingPanel.java: Put the updated Artifact into the CollectionView when the calculation is finished. * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Update the UI after the Artifact of this CollectionView is updated. 2011-09-26 Ingo Weinzierl <ingo@intevation.de> flys/issue298 (Karte: Automatischer Zoom auf Berechnungsergebnisse) * src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java: The initial zoom of the map is determined by the extents of all layers in the map OR by the wsplgen layer, if such layer is existing and if it has an extent set. 2011-09-26 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/DatacageWidget.java: Added new method to adjust the selection type (multi or single select). * src/main/java/de/intevation/flys/client/client/ui/DemDatacagePanel.java, src/main/java/de/intevation/flys/client/client/ui/WspDatacagePanel.java: Set single selection type for DatacageWidget's grid - only one selected item is allowed here. 2011-09-26 Ingo Weinzierl <ingo@intevation.de> flys/issue323 (Datenkorb: Doppelklick im Datenkorb sollte gewähltes Thema (Themen) laden) * src/main/java/de/intevation/flys/client/client/event/DatacageDoubleClickHandler.java: New. Interface for double click handlers used in the datacage. * src/main/java/de/intevation/flys/client/client/ui/DatacageWindow.java: Implements the DatacageDoubleClickHandler. After a doubleClick event has been received, the selected Themes from datacage widget are loaded and the window is destroyed. * src/main/java/de/intevation/flys/client/client/ui/DatacageWidget.java: A double click on a tree node triggers the onDoubleClick method for each registered DatacageDoubleClickHandler. A DatacageDoubleClickHandler may register itself via DatacageWidget.addDatacageDoubleClickHander() method. 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de> Clone Subtrahend and Minuend in WDiff-branch of WINFO with waterlevelfactory. * src/main/java/de/intevation/flys/client/client/ui/DatacageTwinPanel.java: Clone recommendations with waterlevel-factory, prepare to have a third column in listgrid to remove pairs. 2011-09-21 Ingo Weinzierl <ingo@intevation.de> flys/issue315 (Überschwemmungsfläche: String bei Streckenauswahl) * src/main/java/de/intevation/flys/client/client/ui/DoubleRangePanel.java: Little modifications to allow subclassing. * src/main/java/de/intevation/flys/client/client/ui/DoubleRangeOnlyPanel.java: New. A subclass of DoubleRangePanel that does NOT display a "step" field. * src/main/java/de/intevation/flys/client/client/ui/DistancePanel.java: Set correct title for this panel. * src/main/java/de/intevation/flys/client/client/ui/DistanceOnlyPanel.java: New. A subclass of DistancePanel that instantiates a DoubleRangeOnlyPanel instead of a DoubleRangePanel. So, there are only "from" and "to" fields visible. In addition, this panel only returns Data objects for these two fields. * src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java: Registered the DistanceOnlyPanel. 2011-09-19 Hans Plum <hans@intevation.de> * NEWS for V 2.5.0: Describing new functionality and some backgrounds in MoinMoin-Wiki Syntax (in german only) from the user perspective. It does not differentiate between client and server-specific code! 2011-09-19 Hans Plum <hans@intevation.de> * NEWS for V 2.4.0: Describing new functionality and some backgrounds in MoinMoin-Wiki Syntax (in german only) from the user perspective. It does not differentiate between client and server-specific code! 2011-09-19 Ingo Weinzierl <ingo@intevation.de> Tagged RELEASE 2.5 * Changes: Prepared changes for the release. 2011-09-19 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/DatacageTwinPanel.java, src/main/java/de/intevation/flys/client/client/ui/CollectionView.java, src/main/java/de/intevation/flys/client/client/ui/TableFilter.java, src/main/java/de/intevation/flys/client/client/ui/ProjectList.java, src/main/java/de/intevation/flys/client/client/ui/DatacagePairWidget.java: Removed needless imports. 2011-09-19 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/DemDatacagePanel.java: Display datacage panel with DEMs only. Return Data object with selected database ID after pushing 'next' button. 2011-09-16 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/MetaDataServiceImpl.java, src/main/java/de/intevation/flys/client/client/services/MetaDataServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/MetaDataService.java: Added a further 'parameters' parameter to be able to adjust the metadata query more precise. * src/main/java/de/intevation/flys/client/client/ui/DatacageWidget.java: Added a further 'parameters' attribute and a constructor. The 'parameters' attribute is used for the metadata query as well as the user and the outs. * src/main/java/de/intevation/flys/client/client/ui/DatacagePanel.java: The parameters for the metadata query can now be adjusted by overriding getUser(), getOuts() and getParameters(). * src/main/java/de/intevation/flys/client/client/ui/DemDatacagePanel.java: This panel now able to only display the DEMs in the datacage panel. 2011-09-16 Raimund Renkert <raimund.renkert@intevation.de> Issue265 * src/main/java/de/intevation/flys/client/client/ui/ParameterList.java, src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Added method to be able to register TabSelecedHandler at the CollectionView. * src/main/java/de/intevation/flys/client/client/ui/DigitizePanel.java, src/main/java/de/intevation/flys/client/client/ui/map/FloodMap.java: Register the panel as TabSelectedHandler to hide or show the barrier layer in the FloodMap. * src/main/java/de/intevation/flys/client/client/ui/UIProvider.java, src/main/java/de/intevation/flys/client/client/ui/AbstractUIProvider.java: Added setter for ParameterList. 2011-09-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> Updated implementation to a working (but limited and buggy) DatacageTwinPanel. * src/main/java/de/intevation/flys/client/client/ui/DatacageTwinPanel.java, src/main/java/de/intevation/flys/client/client/ui/DatacagePairWidget.java: Eat recommendations and add them to list, on "proceed"-click, clone selected artifacts and add them to selection, collapse list entries to string and add that string as data. 2011-09-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> Added a loadMany-Function to LoadArtifactService. * src/main/java/de/intevation/flys/client/server/LoadArtifactServiceImpl.java, src/main/java/de/intevation/flys/client/client/services/LoadArtifactService.java, src/main/java/de/intevation/flys/client/client/services/LoadArtifactServiceAsync.java: Added a loadMany-Function to LoadArtifactService 2011-09-16 Raimund Renkert <raimund.renkert@intevation.de> Issue203 * src/main/java/de/intevation/flys/client/client/ui/wq/QDTable.java, src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: Rollback for input assistance of "Q/D" table. The selectable icon columns are visible in all modes except of "Q" input mode. 2011-09-15 Ingo Weinzierl <ingo@intevation.de> flys/issue259 (Daten aus Datenkorb in Diagramm einladen) * src/main/java/de/intevation/flys/client/client/event/RedrawRequestEvent.java: New. This event might be used to define the redraw type. Currently, there are two types defined: RESET and DEFAULT. DEFAULT means the chart should only be redrawn, RESET means the chart's state (zoom, etc) should be reset. * src/main/java/de/intevation/flys/client/client/event/RedrawRequestHandler.java: Added the RedrawRequestEvent to the onRedrawRequest() method. * src/main/java/de/intevation/flys/client/client/ui/DatacageWindow.java: Implements the HasRedrawRequestHandlers interface. After all Artifacts has been loaded, the onRedrawRequest() event is fired. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java: Registered the ChartOutputTab as RedrawRequestHandler. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: Distinguishes between the RedrawRequestEvent.Types now. The chart's state is only reset if the RESET type is given. Otherwise, only the ThemePanel and the chart image are refreshed. * src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java: Fire the RedrawRequestEvent with type RESET. 2011-09-15 Ingo Weinzierl <ingo@intevation.de> flys/issue259 (Daten aus Datenkorb in Diagramm einladen) * src/main/java/de/intevation/flys/client/client/ui/DatacageWindow.java: Don't abuse the mechanism to load recommendations any longer. Selected Facets/Artifacts in this Window are cloned and loaded into the current Collection using the LoadArtifactService. 2011-09-15 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/UIProvider.java: Defined a setter method to inject a Collection. * src/main/java/de/intevation/flys/client/client/ui/AbstractUIProvider.java: Added a setter/getter method to inject a Collection. * src/main/java/de/intevation/flys/client/client/ui/ParameterList.java: Inject the current Collection into the UIProvider and add Artifacts that have been created to the Collection of CollectionView. * src/main/java/de/intevation/flys/client/client/ui/WspDatacagePanel.java: Clone an Artifact that is selected in the datacage widget and add it to the current Collection. Finally, return its UUID, the name of the facet and the index. * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added new error messages that will be displayed when an error occured while cloning an Artifact or adding it to a Collection. 2011-09-15 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Create a new collection if no Collection is given while initializing a CollectionView. This is necessary, because a Collection is required in states that try to add cloned Artifacts (as it is the case in WspDatacagePanel). !! NOTE: This changes the behaviour - before, Collections have been created when a Collection has Outputs. Now, a Collection is initially created when the user starts a new project. !! 2011-09-15 Raimund Renkert <raimund.renkert@intevation.de> Issue199 * src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java: Validate than the input field contains a single value. * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n string for error message. 2011-09-15 Raimund Renkert <raimund.renkert@intevation.de> Issue200 * src/main/java/de/intevation/flys/client/client/ui/TableDataPanel.java, src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java, src/main/java/de/intevation/flys/client/client/ui/range/LocationsTable.java, src/main/java/de/intevation/flys/client/client/ui/range/RangeTable.java, src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java: Added formatter for numeric columns that converts the decimal separator. 2011-09-15 Ingo Weinzierl <ingo@intevation.de> Refactored the HTTP related code for Collections and Artifacts out to helper classes. This makes us able to combine several Artifact and Collection protocol specific things in new Services. The first one which uses this combination is the LoadArtifactService where a new Artifact is created and finally added to a Collection. * src/main/java/de/intevation/flys/client/server/LoadArtifactServiceImpl.java, src/main/java/de/intevation/flys/client/client/services/LoadArtifactServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/LoadArtifactService.java: New service to create a new Artifact (with a given factory and a recommendation) and add it directly to a specified Collection. * src/main/java/de/intevation/flys/client/server/DescribeCollectionServiceImpl.java, src/main/java/de/intevation/flys/client/server/AddArtifactServiceImpl.java: Removed HTTP related code - the CollectionHelper should do all this. * src/main/java/de/intevation/flys/client/server/ArtifactServiceImpl.java: Removed HTTP related code - the ArtifactHelper should do all this. * src/main/java/de/intevation/flys/client/server/CollectionHelper.java: Added HTTP related methods from DescribeCollectionServiceImpl and AddArtifactServiceImpl. * src/main/java/de/intevation/flys/client/server/ArtifactHelper.java: New. This helper class should handle all the HTTP stuff for working with Artifacts. * src/main/webapp/WEB-INF/web.xml: Registered the new LoadArtifactService. 2011-09-15 Raimund Renkert <raimund.renkert@intevation.de> Issue194 * src/main/java/de/intevation/flys/client/client/ui/wq/QDTable.java: Changed table header string and set the column width to percental value. * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n string for "Q/D" table header. 2011-09-14 Raimund Renkert <raimund.renkert@intevation.de> Issue200 * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java, src/main/java/de/intevation/flys/client/client/ui/wq/QDTable.java, src/main/java/de/intevation/flys/client/client/ui/wq/WTable.java, src/main/java/de/intevation/flys/client/client/ui/range/LocationsTable.java, src/main/java/de/intevation/flys/client/client/ui/range/RangeTable.java, src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java: Changed columns to the correct type for most tables. 2011-09-14 Raimund Renkert <raimund.renkert@intevation.de> Issue195 * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Changed i18n string for "Q/D" table header. 2011-09-14 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/DemDatacagePanel.java, src/main/java/de/intevation/flys/client/client/ui/WspDatacagePanel.java: New. Two concrete subclasses of DatacagePanel - one for choosing a dem and one for choosing a waterlevel. * src/main/java/de/intevation/flys/client/client/ui/DatacagePanel.java: Some refactoring that makes it able to subclass the DatacagePanel. Now, this class is abstract and needs to be subclassed. * src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java: Registered the DemDatacagePanel and WspDatacagePanel as new UIProviders. 2011-09-14 Raimund Renkert <raimund.renkert@intevation.de> Issue313 * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties: Changed i18n string for search field label. 2011-09-14 Raimund Renkert <raimund.renkert@intevation.de> Issue299 * src/main/java/de/intevation/flys/client/client/ui/LoadingPanel.java, src/main/webapp/FLYS.css: Changed style for loading panel. 2011-09-14 Felix Wolfsteller <felix.wolfsteller@intevation.de> New DatacageTwinWidget to be used in W-Differences GUI. * src/main/java/de/intevation/flys/client/client/ui/DatacagePairWidget.java: New, display two datacages and a "+" button. On selection and plus-button press will in future add names of selections into a given ListGrid. 2011-09-14 Felix Wolfsteller <felix.wolfsteller@intevation.de> Ease access to selected elements of a DatacageWidget. Make button-less DatacageWidget possible. * src/main/java/de/intevation/flys/client/client/ui/DatacageWidget.java: Refactored to allow for button-less Widget and still be able to access current selection as ToLoad-objects from "outside"; in coo with Ingo Weinzierl. 2011-09-14 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/FLYSWorkspace.java, src/main/java/de/intevation/flys/client/client/ui/ProjectList.java: Fixed a problem with renaming collection view title and duplicating projects. 2011-09-14 Raimund Renkert <raimund.renkert@intevation.de> Issue166 * src/main/java/de/intevation/flys/client/client/ui/FLYSWorkspace.java, src/main/java/de/intevation/flys/client/client/ui/ProjectList.java: Update the collection view title when the project name changes. 2011-09-14 Raimund Renkert <raimund.renkert@intevation.de> Issue203 * src/main/java/de/intevation/flys/client/client/ui/wq/QDTable.java, src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: Removed the table listener for "Q" input. The table is no longer used for input assistance. 2011-09-14 Raimund Renkert <raimund.renkert@intevation.de> Issue305 * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java, src/main/java/de/intevation/flys/client/client/ui/DistancePanel.java, src/main/java/de/intevation/flys/client/client/ui/TableFilter.java: Clear the table filter on tab selection change and input method change. 2011-09-14 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/meta/Converter.java: Extract the name AND the description from dom Element. Use both attributes to create a new DataCageNode with 'name' and 'description'. The 'description' depends on the Element: if it has an attribute 'description', this one is used otherwise the 'description' is "${'name'}". * src/main/java/de/intevation/flys/client/shared/model/DataCageNode.java: Added a new attribute 'description' with getter method and new constructor. * src/main/java/de/intevation/flys/client/client/ui/DatacageWidget.java: Display the 'description' of DataCageNodes in the Datacage tree, but use the 'name' for in the ToLoad object which is created after pressing the "+" button. 2011-09-14 Felix Wolfsteller <felix.wolfsteller@intevation.de> Committed rest for fix flys/issue311 (translation of crosssection). * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java, src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java: Use translated "actions" string, use constant instead of spelled-out string. 2011-09-14 Felix Wolfsteller <felix.wolfsteller@intevation.de> Fix flys/issue309 (crosssection-spinner does not trigger action when return pressed). * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java: Trigger ChangedEvent on each keypress when any value given. 2011-09-14 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ProjectList.java: Fixed NPE problem on empty list. Changed filter to caseinsensitiv. (Issue285) Changed the copy-prefix for duplicated projects. 2011-09-14 Felix Wolfsteller <felix.wolfsteller@intevation.de> Fix flys/issue311 (i18n of crosssection). * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added translation for crosssections "actions" and w-diff export. * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java: Use translated "actions" string. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java: Use constant instead of spelled-out string. 2011-09-13 Raimund Renkert <raimund.renkert@intevation.de> Issue234/266 * src/main/java/de/intevation/flys/client/client/ui/ProjectList.java: Added feature for duplicating projects. * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n string for context menu and project name. 2011-09-13 Raimund Renkert <raimund.renkert@intevation.de> Issue239 * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java, src/main/java/de/intevation/flys/client/client/ui/range/LocationsTable.java, src/main/java/de/intevation/flys/client/client/ui/range/RangeTable.java, src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java: Changed field size from fixed to percental value. 2011-09-13 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ProjectList.java: Added filter functionality to the project list. 2011-09-13 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/ArtifactFilter.java: Call default constructor in parameterized constructor to initialize data structures. * src/main/java/de/intevation/flys/client/client/ui/DatacageWidget.java: Repaired broken if-statement that avoided adding new DatacageHandlers. 2011-09-13 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/OutputTab.java: Added method that returns the name of the current output. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java: Resolved TODO: the datacage window fetches the data for the current output now. 2011-09-13 Ingo Weinzierl <ingo@intevation.de> flys/issue293 (Karte: Farbliche Anpassung der digitalisierten Objekte) * src/main/java/de/intevation/flys/client/client/ui/map/DrawControl.java, src/main/java/de/intevation/flys/client/client/ui/map/FloodMap.java: Set style attribute for newly created vector features. The styled is based on the "type" attribute of a feature. FloodMap.getStyle(String type) returns the Style for the specified type. 2011-09-13 Ingo Weinzierl <ingo@intevation.de> flys/issue289 (Karte: Messen von Strecken und Flächen in falscher Dimension) * src/main/java/de/intevation/flys/client/client/ui/map/FloodMap.java: Set map units 'm'. 2011-09-13 Ingo Weinzierl <ingo@intevation.de> flys/issue286 (Karte: Tooltips für die Werkzeugleiste) * src/main/java/de/intevation/flys/client/client/ui/map/MapToolbar.java, src/main/java/de/intevation/flys/client/client/ui/map/MeasureControl.java, src/main/java/de/intevation/flys/client/client/ui/map/DrawControl.java: Added tooltips for map controls. * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added tooltip texts. 2011-09-12 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/TableDataPanel.java: Set the data table cells selectable for copy&paste. 2011-09-12 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/LoadingPanel.java: Introduced i18n for messages in the loading panel. Note that messages parsed from Artifact's DESCRIBE are _NOT_ based on the client's locale! * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added strings used in the loading panel. 2011-09-12 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ProjectList.java: Set header fields to fixed order. (Issue240) 2011-09-12 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java, src/main/java/de/intevation/flys/client/client/ui/range/LocationsTable.java, src/main/java/de/intevation/flys/client/client/ui/range/RangeTable.java, src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java: Changed i18n string for empty table and set header fields to fixed order. * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n string for empty table. 2011-09-12 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/TableFilter.java: The TableFilter implements KeyUpHandler now to receive the last pressed key. Removed the 'clear' button and ClickHandler implementation and set the label text to i18n strings. * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n string for filter label. 2011-09-12 Ingo Weinzierl <ingo@intevation.de> flys/issue282 (Karte: Abstand interpolierte Profile - Default wert) * src/main/java/de/intevation/flys/client/client/ui/AutoIntegerPanel.java: Set default value (if no other value is set) to 'auto'. 2011-09-12 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/AbstractUIProvider.java: Implemented a method getDataValue(String state, String name) that searches for a specific state and data name and returns the string value if such a data object exists. * src/main/java/de/intevation/flys/client/client/ui/DigitizePanel.java: Find out the rivername on the fly (was hard coded before). 2011-09-12 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/DataList.java: Made the DataList cloneable. * src/main/java/de/intevation/flys/client/client/ui/DigitizePanel.java: Remove the data "uesk.barriers" that contains the GeoJSON geometries from cloned DataList to supress the GeoJSON string in UI. 2011-09-12 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java, src/main/java/de/intevation/flys/client/client/ui/TableFilter.java, src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java: Removed needless imports. 2011-09-09 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/CalculationMessage.java: New. Status messages and progress information of Artifact's background processes are stored in here. * src/main/java/de/intevation/flys/client/server/FLYSArtifactCreator.java: Read status messages and progress information from Artifact's DESCRIBE. Put a CalculationMessage object into the newly created artifacts. * src/main/java/de/intevation/flys/client/shared/model/WINFOArtifact.java, src/main/java/de/intevation/flys/client/shared/model/DefaultArtifact.java, src/main/java/de/intevation/flys/client/shared/model/Artifact.java: Artifacts provide a method getBackgroundMessages() that returns a list of CalculationMessages. * src/main/java/de/intevation/flys/client/client/images/loading.gif: A spinner used in the loading panel. * src/main/java/de/intevation/flys/client/client/FLYSImages.java: Declared the loading.gif. * src/main/java/de/intevation/flys/client/client/ui/LoadingPanel.java: Use the status message and progress information to fill the loading panel with text. The 'loading.gif' is placed at the top of this panel for a nice visual effect. * src/main/webapp/FLYS.css: Set some style information for the loading box. 2011-09-08 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java: Changed 'addChild()' to 'addMember' at layout container to be able to remove the content. * src/main/java/de/intevation/flys/client/client/ui/TableFilter.java: Uncommented the fire event line to make the filter work. 2011-09-08 Felix Wolfsteller <felix.wolfsteller@intevation.de> Minor cosmetics. * src/main/java/de/intevation/flys/client/client/ui/DatacageWidget.java: Minor cosmetics. 2011-09-08 Felix Wolfsteller <felix.wolfsteller@intevation.de> Added new UIProvider "DatacageTwinPanel"/ "datacage_twin_panel" (stub). As the Datacage needs to know a user, Modified UIProviderFactory to accept user in calls to getProvider. * src/main/java/de/intevation/flys/client/client/ui/DatacageTwinPanel.java: New. Display two DatacageWidgets. * src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java (getProvider): Added "user" argument, create DatacageTwinPanel if asked to. * src/main/java/de/intevation/flys/client/client/ui/ParameterList.java: Pass user argument in call to UIProverFactory.getProvider(). 2011-09-08 Felix Wolfsteller <felix.wolfsteller@intevation.de> Added w_differences translation. * src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added "w_differences" translation. 2011-09-08 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/services/DescribeArtifactServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/DescribeArtifactService.java, src/main/java/de/intevation/flys/client/server/DescribeArtifactServiceImpl.java: New. The task of this service is to fetch the current DESCRIBE document of a specific Artifact (currently used in the LoadingPanel to determine the background processing's state). * src/main/java/de/intevation/flys/client/client/ui/LoadingPanel.java: The loading panel is finished when its Artifact has no longer a processing background task. * src/main/webapp/WEB-INF/web.xml: Registered the DescribeArtifactService. 2011-09-08 Felix Wolfsteller <felix.wolfsteller@intevation.de> Cosmetics. * src/main/java/de/intevation/flys/client/client/FLYS.java. src/main/java/de/intevation/flys/client/client/ui/CollectionView.java. src/main/java/de/intevation/flys/client/client/ui/DatacageWindow.java. src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: Cosmetics; adjusted and corrected some doc. 2011-09-07 Raimund Renkert <raimund.renkert@intevation.de> Added a filter for the "description" row of helper input tables. * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java, src/main/java/de/intevation/flys/client/client/ui/DistancePanel.java, src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java: Added a filter for the input tables. The filter works as an "as you type" filter, if this is to slow, go to the 'TableFilter' class and change the 'onKeyPress()' handler as documented in the code. * src/main/java/de/intevation/flys/client/client/event/FilterHandler.java, src/main/java/de/intevation/flys/client/client/event/StringFilterEvent.java, src/main/java/de/intevation/flys/client/client/ui/TableFilter.java: New. These classes/interfaces are implemented by Ingo and are used for the table filter. They provide common functionality and interfaces for filtering. 2011-09-07 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/Artifact.java,, src/main/java/de/intevation/flys/client/shared/model/WINFOArtifact.java, src/main/java/de/intevation/flys/client/shared/model/DefaultArtifact.java: An Artifact got a method isInBackground() that returns true, if the Artifact has been started a background thread in the Artifact-Server - otherwise it returns false. * src/main/java/de/intevation/flys/client/server/FLYSArtifactCreator.java: Parse the "background-processing" attribute from Artifact's DESCRIBE document. * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Add a LoadingPanel if the new Artifact that is injected via setArtifact() is in background mode. * src/main/java/de/intevation/flys/client/client/ui/LoadingPanel.java: New. A window that places itself in front of another component - which disables user interaction with the parent component. Currently, the loading panel waits a few seconds an removes itself from parent component. * src/main/webapp/FLYS.css: Added a style for the loading panel's label 'loading-message'. 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de> Display Action Widget only for cross_section theme/facet. * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java: Put action widget only for cross_section theme, resolving a TODO. Adjust layout slightly. 2011-09-06 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/map/DrawControl.java: Set WSPLGEN specific names for the 'type' attribute after digitizing new geometries. 2011-09-06 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: Fix broken build by changed method name. 2011-09-06 Felix Wolfsteller <felix.wolfsteller@intevation.de> Subclassed ChartThemePanel, trigger redraws of Chart when interaction with "Action" widgets in ThemePanel occured (but will still crash). * src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java: Extracted CrossSection-specific stuff to own subclass. * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java: New, contains specific parts that were extracted from ChartThemePanel. After interaction via the "Actions" Widgets (currently only a spinner), request a chart redraw. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: Depending on the outputmode, create a CrossSectionChartThemePanel, register as redrawRequestHandler. * src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java: Implement HasRedrawRequestHandlers interface. 2011-09-06 Felix Wolfsteller <felix.wolfsteller@intevation.de> Added concept of a RedrawRequestHandler to allow e.g. ChartThemePanel to trigger a redraw of a Chart. * src/main/java/de/intevation/flys/client/client/event/HasRedrawRequestHandlers.java, src/main/java/de/intevation/flys/client/client/event/RedrawRequestHandler.java: New, trivial yet eventless notification handler interfaces. 2011-09-06 Ingo Weinzierl <ingo@intevation.de> flys/issue166 (Projektname in die Fensterleiste übernehmen) * src/main/java/de/intevation/flys/client/server/DescribeCollectionServiceImpl.java: Read the name from Collection's DESCRIBE document and create new Collection objects with this information. * src/main/java/de/intevation/flys/client/shared/model/DefaultCollection.java: Adapted constructors which now require a name. * src/main/java/de/intevation/flys/client/server/CreateCollectionServiceImpl.java: Use the UUID as Collection name after a Collection has been created - at that time no user defined name is existing. 2011-09-06 Felix Wolfsteller <felix.wolfsteller@intevation.de> Minor cosmetics. * src/main/java/de/intevation/flys/client/shared/model/DefaultDataItem.java, src/main/java/de/intevation/flys/client/shared/model/DefaultArtifact.java, src/main/java/de/intevation/flys/client/shared/model/FacetRecord.java, src/main/java/de/intevation/flys/client/client/services/FeedService.java, src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: Minor cosmetics. 2011-09-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> 2011-09-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> Refactored to allow specialized controls within the ChartThemePanel, stubby first steps towards such a control (bound to FeedService). * src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java: Minor cosmetics. (createGrid): Extracted (trivial) to allow more concrete implementations in subclasses. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java (createGrid): Implementation, add a spinner that could talk with feedservice. (initGrid): Added new "actions" field. 2011-09-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> Minor Cosmetics. * src/main/java/de/intevation/flys/client/server/FeedServiceImpl.java: Removed superflouus import. 2011-09-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> Cosmetics, doc. * src/main/java/de/intevation/flys/client/client/services/StepForwardService.java, src/main/java/de/intevation/flys/client/client/services/StepForwardServiceAsync.java: Modified docs so that the distinction to FeedService becomes clear. * src/main/java/de/intevation/flys/client/server/AddArtifactServiceImpl.java: Whitespaces. 2011-09-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> Added implementation of a FeedService. * src/main/java/de/intevation/flys/client/client/services/FeedServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/FeedService.java, src/main/java/de/intevation/flys/client/server/FeedServiceImpl.java: Added implementation of a FeedService (shamelessly copied from ~AdvanceService) * src/main/webapp/WEB-INF/web.xml: Added configuration of feedService. 2011-09-01 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/map/DrawControl.java: Set the 'typ' attribute of a feature that is added to the vector layer. Features, that are loaded into the layer from GeoJSON file keep their existing 'typ' attribute. New features get the attribute from combo box. 2011-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de> Added cross section translation. * src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added "cross_section" translation. 2011-08-25 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/DatacageWidget.java: Moved datacage specific stuff into a VLayout. * src/main/java/de/intevation/flys/client/client/event/DatacageHandler.java: New. Event handler used by DatacageWidget to broadcast toLoad events. * src/main/java/de/intevation/flys/client/client/ui/DatacagePanel.java, src/main/java/de/intevation/flys/client/client/ui/DatacageButton.java: Adjusted calls. TODO: We need the user and the collection view. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java: Forward collection view to DatacageWindow. * src/main/java/de/intevation/flys/client/client/ui/DatacageWindow.java: Moved stuff out to DatacageWidget. Send recommendations to CollectionView. 2011-08-25 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Ugly workaraound: If no reference artifact is given use current artifact as master artifact. 2011-08-24 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/ToLoad.java (toRecommendations): Compile a list of recommendations out of datacage tree selections. A lot of model conversions. :-/ * src/main/java/de/intevation/flys/client/shared/model/ArtifactFilter.java, src/main/java/de/intevation/flys/client/shared/model/FacetFilter.java, src/main/java/de/intevation/flys/client/shared/model/OutFilter.java: Added code to convert the models. 2011-08-24 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/services/ArtifactService.java, src/main/java/de/intevation/flys/client/server/ArtifactServiceImpl.java, src/main/java/de/intevation/flys/client/client/services/ArtifactServiceAsync.java: Removed the UUID of the master artifact from interface. Its transported in the recommendation. Set the creation filter if its set in the recommendation. * src/main/java/de/intevation/flys/client/shared/model/Recommendation.java: Added Filter/Facets. Its merely a copy of CreationFilter but this cannot be serialized from JS to the RPC side. * src/main/java/de/intevation/flys/client/client/FLYS.java, src/main/java/de/intevation/flys/client/client/ui/ParameterList.java, src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Adjusted the calls to fulfill the changed interface. 2011-08-24 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/Recommendation.java: Added field for master artifact. Not uses, yet. * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Allow passing no master artifact to RPC service when creating new artifact. 2011-08-24 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/services/ArtifactService.java, src/main/java/de/intevation/flys/client/server/ArtifactServiceImpl.java: Forward recommendations as a structure to RPC service. TODO: use this to give filters to creation. * src/main/java/de/intevation/flys/client/client/services/ArtifactServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/ArtifactService.java, src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Adjusted calls. 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de> Fix loading of recommendations when collection is not yet in place. * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java (createNewCollection): Load recommendations when new Collection is created. (onParameterChange): Guard call to loadRecommendation to avoid NPE when no collection is yet set. 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/DefaultCollection.java: Ensure list of recommendations is non-null after construction. 2011-08-24 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/DefaultRecommendation.java, src/main/java/de/intevation/flys/client/shared/model/Recommendation.java: Deleted DefaultRecommendation. Use Recommendation as a class directly. * src/main/java/de/intevation/flys/client/server/DescribeCollectionServiceImpl.java, src/main/java/de/intevation/flys/client/server/ArtifactDescriptionFactory.java: Use the Recommendation class directly. 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de> Minor cosmetics. * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java: Picky cosmetics about comment content. 2011-08-24 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/ToLoad.java, src/main/java/de/intevation/flys/client/shared/model/FacetFilter.java, src/main/java/de/intevation/flys/client/client/ui/DatacageWindow.java: Use "ids" instead of "num". 2011-08-24 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/DescribeCollectionServiceImpl.java, src/main/java/de/intevation/flys/client/server/ArtifactDescriptionFactory.java, src/main/java/de/intevation/flys/client/server/CollectionHelper.java: s/db-ids/ids/g to unify system and user specific loading. 2011-08-24 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java: The toolbar used in this map widget will no longer contain digitize controls. 2011-08-24 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/ArtifactFilter.java, src/main/java/de/intevation/flys/client/shared/model/ToLoad.java: Generate unique keys for anonymous artifacts (aka static data). 2011-08-24 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/DigitizePanel.java: New. A subclass of the SelectProvider which displays combo boxes on the left and a map panel in the helper container. * src/main/java/de/intevation/flys/client/client/ui/map/MapToolbar.java: Added a property that allows initializing the toolbar with no digitize controls. * src/main/java/de/intevation/flys/client/client/ui/map/FloodMap.java: Added a method that returns the vector features as GeoJSON string. * src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java: Creates a DigitizePanel if the uiprovider string "map_digitize" is set. 2011-08-24 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/map/MapPanel.java: New. A widget that displays a map with a toolbar. It wraps all the stuff to combine SmartGWT with GWT-OpenLayers. 2011-08-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/ToLoad.java: Re-written to feature the new models. * src/main/java/de/intevation/flys/client/shared/model/FacetFilter.java: Be aware of null values for num and name. * src/main/java/de/intevation/flys/client/client/ui/DatacageWindow.java: Adjusted calls for new toLoad semantics. 2011-08-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/ArtifactFilter.java, src/main/java/de/intevation/flys/client/shared/model/FacetFilter.java, src/main/java/de/intevation/flys/client/shared/model/OutFilter.java: New. Models which are better suited for creating artifact facet filters. TODO: Re-factor ToLoad to create these models. 2011-08-23 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/DescribeCollectionServiceImpl.java: Parse the output modes of the first Artifact only. The output modes of the other artifacts shouldn't be visible to the user. 2011-08-23 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/MapInfo.java: New. Instances of this class are used to store basic information which are necessary to create maps. * src/main/java/de/intevation/flys/client/shared/model/BBox.java: New. An internal representation of a bounding box which consists of four coordinates. * src/main/java/de/intevation/flys/client/client/services/MapInfoServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/MapInfoService.java, src/main/java/de/intevation/flys/client/server/MapInfoServiceImpl.java: The interface definitions and the implementation of a service that queries basic map information from artifact server. * src/main/webapp/WEB-INF/web.xml: Registered the new MapInfo service. 2011-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/MetaDataServiceImpl.java, src/main/java/de/intevation/flys/client/client/services/MetaDataServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/MetaDataService.java, src/main/java/de/intevation/flys/client/client/ui/DatacageWindow.java: Re-added the outs parameter to the meta data service. TODO: Pass it from the UI. 2011-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/ToLoad.java, src/main/java/de/intevation/flys/client/client/ui/DatacageWindow.java: Aggregate the items to load by artifact id and factories. Makes it easier to build filter views on new created artifacts to be added to the current collection. 2011-08-22 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Set the Collection and its Master-Artifact at first when we create a CollectionView with an existing Collection instance. * src/main/java/de/intevation/flys/client/client/ui/map/MapToolbar.java: Enabled the SelectFeature control to select a feature using a box. * src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java: The geometries added by the user are saved as GeoJSON parameters of the master artifact . The user does not need to save the geometries explicitly - this is an automatic process. While initializing the map, those geometries are reloaded and displayed again. 2011-08-22 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/NoInputPanel.java: This panel is used to suppress the creation of an input panel. Currently, this panel is used in the floodmap state. This state is able to save geometries, but we currently don't want to insert GeoJSON strings manually. * src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java: Instantiate the NoInputPanel if the ui provider string "noinput" is specified. 2011-08-19 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java: Determine the max extent of all layers contained in the collection. * src/main/java/de/intevation/flys/client/client/ui/map/FloodMap.java: Set the map projection and its max extent determined by MapOutputTab. 2011-08-12 Sascha L. Teichmann <sascha.teichmann@intevation.de> Extract selected data from datacage panel * src/main/java/de/intevation/flys/client/server/meta/Converter.java: Removed some debugging. * src/main/java/de/intevation/flys/client/shared/model/ToLoad.java: New. Contains artifact id, db ids, factory name and facet number. Should be enough to identify the data to load. * src/main/java/de/intevation/flys/client/shared/model/AttrList.java: Fixed indexing bug. * src/main/java/de/intevation/flys/client/client/ui/DatacageWindow.java: Added a toLoad() method which returns a list of ToLoad data to load via the corresponding factories. If you double click on a tree node all data below this filled into this list and the window is disposed. You can do multipl selects on the and press the '+' button to do a multiselect loading. 2011-08-09 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/meta/Converter.java: Do not use 'name' attribute of datacage. * src/main/java/de/intevation/flys/client/client/widgets/tree/AttributedTreeNode.java: Removed. Not longer needed. * src/main/java/de/intevation/flys/client/client/ui/DatacageWindow.java: Build the UI tree in a more smartgwt compatible style. Prevents lots of exception when using click listeners. 2011-08-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Set window title to include UUID. 2011-08-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Changed log message for two distinct malconditions. 2011-08-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Adjusted German translation to use unique strings. 2011-08-08 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/DescribeCollectionServiceImpl.java, src/main/java/de/intevation/flys/client/client/ui/BooleanPanel.java, src/main/java/de/intevation/flys/client/client/ui/DatacageWindow.java, src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java: Removed superfluous imports. 2011-08-08 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/widgets/tree/AttributedTreeNode.java: New. Subclassed TreeNode to carry the attribute data from the meta data service. * src/main/java/de/intevation/flys/client/client/ui/DatacageWindow.java: Create AttributedTreeNodes instead of TreeNodes to have the relevant information at hand if a listener wants to access the data. 2011-08-08 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/AttrList.java: New. List of attributes for each DataCageNode. * src/main/java/de/intevation/flys/client/server/meta/Converter.java: Generate the list of attributes for each datacage node. * src/main/java/de/intevation/flys/client/shared/model/DataCageNode.java: Added the attribute list. 2011-08-08 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/DatacageWindow.java: Do not cry for missing i18n if running into error. * src/main/java/de/intevation/flys/client/server/meta/Converter.java: Convert more stuff. * src/main/java/de/intevation/flys/client/server/MetaDataServiceImpl.java: Create correct request document now. 2011-08-08 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/services/MetaDataService.java, src/main/java/de/intevation/flys/client/server/MetaDataServiceImpl.java, src/main/java/de/intevation/flys/client/client/services/MetaDataServiceAsync.java: Take the user id, too. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java, src/main/java/de/intevation/flys/client/client/ui/DatacageWindow.java, src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Adjusted call to pass the user id to the datacage window. * src/main/java/de/intevation/flys/client/client/ui/DatacageButton.java, src/main/java/de/intevation/flys/client/client/ui/DatacagePanel.java: TODO: Bring user id into play. 2011-08-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/TableDataPanel.java: Unified spacing and punctuations in javadoc comments, removed incorrect comment. 2011-07-22 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: Collections are able to store the recommendations they have already loaded. Therefore, new methods have been added to add recommendations and to determine, if a recommendation has already been loaded. * src/main/java/de/intevation/flys/client/server/DescribeCollectionServiceImpl.java: Read the already loaded recommendations from Collection's DESCRIBE document. * src/main/java/de/intevation/flys/client/server/CollectionHelper.java: Write the Collection's recommendations into its attribute document. * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Two things: 1) Do no load recommendations that have already been loaded before. 2) Update UI when there are no more artifacts to load (recommendations). 2011-07-21 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/ArtifactDescriptionFactory.java: Added missing slash in XPath expression. 2011-07-21 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/DefaultRecommendation.java, src/main/java/de/intevation/flys/client/shared/model/Recommendation.java: New. The interface and its default implementation that represent recommendations provided by an Artifact. A recommendation consists at least of the name of an ArtifactFactory and a list of database ids. * src/main/java/de/intevation/flys/client/server/ArtifactDescriptionFactory.java: Read the recommendations from Artifact's DESCRIBE document (which structure has changed.) * src/main/java/de/intevation/flys/client/shared/model/ArtifactDescription.java, src/main/java/de/intevation/flys/client/shared/model/DefaultArtifactDescription.java: Recommendation are no longer simple strings but Recommendation objects now. So, the interface to retrieve those recommendations has changed. * src/main/java/de/intevation/flys/client/client/services/ArtifactServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/ArtifactService.java, src/main/java/de/intevation/flys/client/server/ArtifactServiceImpl.java: This service takes a further string now, which represents the database ids used to create static artifacts that require data from database. * src/main/java/de/intevation/flys/client/client/FLYS.java, src/main/java/de/intevation/flys/client/client/ui/ParameterList.java, src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Adapted the call of the ArtifactService. M src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java 2011-07-20 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/map/FloodMap.java: The vector layer which is used to save features created by the user acts as OpenLayers base layer. I decided to do so, because this is the first and only layer that will always exist in our maps. Users aren't able to remove it! * src/main/java/de/intevation/flys/client/client/ui/map/MapThemePanel.java: Added a callback interface that allows the MapOutputTab to react on modifications in the ThemePanel. This special callback is used to activate/deactivate layers. * src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java: Now, the layers in the map reflect the facets of the map output. Each layer's extent is analyzed and finally the map is zoomed to the minimal extent that contains all layers. 2011-07-20 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ThemeNavigationPanel.java, src/main/java/de/intevation/flys/client/client/ui/ThemeNavigationPanel.java: Moved the panel a package level higher. * src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java: New. Abstract class that consists basically of the code that was removed from ChartThemePanel. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java: Sourced code base out to ThemePanel, so that's possible to reuse the code for a MapThemePanel. * src/main/java/de/intevation/flys/client/client/ui/map/MapThemePanel.java: New. A theme panel for the map widget. 2011-07-19 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/AttributedTheme.java: New. This theme stores all its attributes in a map. The intent of this theme is to save all the facet's values contained in the DESCRIBE of the Collection to be able to write an equivalent attribute part as the incoming DESCRIBE has -> no loss of attributes like WMS URL or layernames in a map theme! * src/main/java/de/intevation/flys/client/server/DescribeCollectionServiceImpl.java: Instantiate new AttributedThemes to save all information of a facet. * src/main/java/de/intevation/flys/client/server/CollectionHelper.java: Write all attributes of an AttributedTheme into a facet's element. * src/main/java/de/intevation/flys/client/shared/model/Theme.java, src/main/java/de/intevation/flys/client/shared/model/DefaultTheme.java, src/main/java/de/intevation/flys/client/shared/model/FacetRecord.java, src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java: The 'active' member variable is an integer value now as it is in the Collection's DESCRIBE document, too. 2011-07-18 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/services/ArtifactServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/ArtifactService.java, src/main/java/de/intevation/flys/client/server/ArtifactServiceImpl.java: An artifact can be created using a UUID as model artifact. * src/main/java/de/intevation/flys/client/server/ArtifactDescriptionFactory.java: Read artifact recommendations from artifact description. * src/main/java/de/intevation/flys/client/shared/model/ArtifactDescription.java, src/main/java/de/intevation/flys/client/shared/model/DefaultArtifactDescription.java: Added method to retrieve recommendations. * src/main/java/de/intevation/flys/client/client/FLYS.java, src/main/java/de/intevation/flys/client/client/ui/ParameterList.java: Adapted the call of the ArtifactService. * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: If the Artifact of a collection changes, the recommended Artifacts - if existing - are created and added to the current Collection. 2011-07-12 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/map/MeasureControl.java: New. This control consists of two OpenLayers controls to measure lines and polygons. * src/main/java/de/intevation/flys/client/client/ui/map/MapToolbar.java: Added the MeasureControl. * src/main/webapp/images/measurePolygon.png, src/main/webapp/images/measurePolygon_Selected.png, src/main/webapp/images/measureLine.png, src/main/webapp/images/measureLine_Selected.png: New. Icons for the measure control. * src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added path locations for the measurement tools. 2011-07-12 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/map/MapPositionPanel.java: New. This panel displays the mouse position in map coordinates. * src/main/java/de/intevation/flys/client/client/ui/map/DrawControl.java:: New. This control consists of a button to enable the control and a combobox that provides different types of barriers. Dependent on the selected barrier type, the user can draw lines or polygons into the map. * src/main/java/de/intevation/flys/client/client/utils/EnableDisableCmd.java: New. This interface might be used to react on enable/disable operations. * src/main/java/de/intevation/flys/client/client/ui/map/MapToolbar.java: Added controls to digitize lines and polygons. * src/main/java/de/intevation/flys/client/client/ui/map/FloodMap.java: Added a method that returns a vector layer that might be used to insert new barriers draw by the user. This layer is used by the DrawControl. * src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java: The MapToolbar requires a Canvas object now, which is used to keep track on the current mouse position. * src/main/webapp/images/selectFeature_Selected.png, src/main/webapp/images/selectFeature.png, src/main/webapp/images/digitize.png, src/main/webapp/images/digitize_Selected.png, src/main/webapp/images/removeFeature.png: New. Icons for the map control elements. * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added i18n strings and image pathes. 2011-07-11 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/map/MapToolbar.java: New. This toolbar provides controls that interact with the map. * src/main/java/de/intevation/flys/client/client/ui/map/FloodMap.java: Removed the initialization of map controls. * src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java: Added the MapToolbar at the top of the layout. 2011-07-11 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java: Finished layouting the components. The map has the same layout as the chart now. 2011-07-08 Ingo Weinzierl <ingo@intevation.de> * pom.xml: Added a dependency to GwtOpenLayers 0.5 (Apache 2.0). * src/main/java/de/intevation/flys/client/FLYS.gwt.xml: Include the GWT OpenLayers code. * src/main/webapp/FLYS.html: Include OpenLayers 2.9 (currently from remote openlayers.org server). For production use, we have to include a local OpenLayers. * src/main/java/de/intevation/flys/client/client/FLYS.java: Small modification on the way to render the HTML page. This lets us now combine GWT and SmartGWT components. * src/main/java/de/intevation/flys/client/client/ui/map/FloodMap.java: New. This components manages the map provided by GwtOpenLayers. * src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java: Initializes a FloodMap now and renders the map in the middle area. Note, that the layout is nearly completely using GWT components. Mixing GwtOpenLayers with SmartGWT doesn't work here. 2011-07-08 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/OutputMode.java: An output mode has type member now. In addition, the interface describes a method that creates an OutputTab. Concrete subclasses should return OutputTabs that fit to their type. * src/main/java/de/intevation/flys/client/shared/model/ChartMode.java: New. This OutputMode is instantiated if type == "chart" and creates ChartOutputTabs. * src/main/java/de/intevation/flys/client/shared/model/MapMode.java: New. This OutputMode is instantiated if type == "map". It creates MapOutputTabs. * src/main/java/de/intevation/flys/client/shared/model/DefaultOutputMode.java: This default implementation of an OutputMode support the type member now. The method to create OutputTabs will return null. * src/main/java/de/intevation/flys/client/server/DescribeCollectionServiceImpl.java: Now, we support the 'type' attribute of Outputs in the DESCRIBE document. Based on the type, we will now instantiate concrete subclasses of the DefaultOutputMode. E.g. the type == 'chart', the instantiated OutputMode will be ChartMode. * src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java: New. This OutputTab is used to render a map. Note: This is currently a stub only! * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Creating OutputTabs based on the names of an OutputMode is obsolete. Now, the OutputModes itself create their required OutputTab. 2011-07-07 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added strings for the output mode 'floodmap'. 2011-07-07 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/BooleanPanel.java, src/main/java/de/intevation/flys/client/client/ui/TextProvider.java, src/main/java/de/intevation/flys/client/client/ui/AutoIntegerPanel.java: Default values provided by the data list used to create the panels are set now. 2011-07-07 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/DistancePanel.java: Refactored getting labels out to own methods which enables subclasses to changed them. * src/main/java/de/intevation/flys/client/client/ui/WaterlevelGroundPanel.java: Override methods of DistancePanel to support own labels for this panel. In addition, this panel has no distance/locations table as the DistancePanel has. * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added new strings for the distance panel and the waterlevel/ground panel. 2011-07-07 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/BooleanPanel.java: This panel is a sublcass of TextProvider now. The difference to the TextProvider is, that there is the option to active/deactivate a checkbox. So, the valid values returned by this panel are "true" and "false". 2011-07-07 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/TextProvider.java: Made methods in this class much smaller to override them easily in subclasses. In addition, the TextItem has been replaced with a DataSourceField which seems to be more easily to change in subclasses. * src/main/java/de/intevation/flys/client/client/ui/AutoIntegerPanel.java: Override required methods of TextProvider. This panel now accepts integer values and the string "auto". An inner class AutoIntegerValidator is used to validate the user input. * src/main/webapp/FLYS.css: Set style for html label elements. Those label elements are used in forms to label items. 2011-07-06 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/event/ParameterChangeEvent.java: This event now supports a further member variable "type". Type is an enum and can be FORWARD or BACK which reflects to stepping forward or backward with the master artifact. * src/main/java/de/intevation/flys/client/client/ui/ParameterList.java: Improved the way of adding/removing items to/from the static list of parameters. We now distinguish between the two ways: - step forward: the last item in the list is added to the static parameter list. This makes redrawing much smoother. - step backward: only the necessary items are removed from the static parameter list. Before, we have removed all items and added the relevant ones afterwards. This makes redrawing also much smoother. * src/main/java/de/intevation/flys/client/client/ui/ContinuePanel.java: This panel will have no static widget. * src/main/java/de/intevation/flys/client/client/ui/AutoIntegerPanel.java: This panel uses the parents createOld() now. 2011-07-06 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ParameterList.java, src/main/webapp/FLYS.css: Some layout improvements related to the height of components. 2011-07-06 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ParameterList.java: The right side of the ParameterList now consists of a stacked panel that itself consists of the helper panel and a panel for displaying the calculation results. The user is now able to see both at the same time. * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Improved the Collection update process. There is no need to update the collection twice when the master artifact changed. Now, the collection is updated only a single time if the collection itself changed - and it changes everytime when its artifact is set. * src/main/java/de/intevation/flys/client/client/ui/TableDataPanel.java: The label 'Berechnungsergebnisse' is no longer part of the Canvas created by this class. * src/main/java/de/intevation/flys/client/client/ui/UIProvider.java, src/main/java/de/intevation/flys/client/client/ui/AbstractUIProvider.java: The helper panel is now a VLayout, no longer a Canvas. * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java, src/main/java/de/intevation/flys/client/client/ui/DistancePanel.java, src/main/java/de/intevation/flys/client/client/ui/MapSelection.java, src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java, src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java: Add helper widgets as members to the helper panel, no longer as children. * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added strings for the input support stack. 2011-07-05 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/DoubleRangePanel.java, src/main/java/de/intevation/flys/client/client/ui/DistancePanel.java: Modified these classes with the intent to override them easier. * src/main/java/de/intevation/flys/client/client/ui/BooleanPanel.java, src/main/java/de/intevation/flys/client/client/ui/DatacagePanel.java, src/main/java/de/intevation/flys/client/client/ui/TextProvider.java, src/main/java/de/intevation/flys/client/client/ui/AutoIntegerPanel.java, src/main/java/de/intevation/flys/client/client/ui/WaterlevelGroundPanel.java, src/main/java/de/intevation/flys/client/client/ui/DatacageButton.java: New panels for data input. The work on these classes is not finished yet! * src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java: Support more UI providers that return the new panels above. * src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: New strings used in the WaterlevelGroundPanel. 2011-07-05 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/event/AdvanceHandler.java: New. This interface describes a handler that listens to events in order to advance to a next step. * src/main/java/de/intevation/flys/client/client/ui/ContinuePanel.java: New. This panel doesn't allow users to enter data. It only displays a link that lets users step forward to a next state. * src/main/java/de/intevation/flys/client/client/ui/ParameterList.java: The ParameterList needs to take care on states that do not require user input but that aren't the final state of an artifact. In such case, the UI provider should be the ContinuePanel only! It allows users to step to the next state. In order to provide such functionality - step forward without feeding the artifact - the ParameterList now implements the AdvanceHandler. * src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java: If the uiprovider attribute is 'continue', the ContinuePanel is returned. * src/main/java/de/intevation/flys/client/client/ui/SelectProvider.java: Adapted the width of the label field. * src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added strings for new states. 2011-07-04 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/DistancePanel.java: Added the missing "back"-button. 2011-07-01 Ingo Weinzierl <ingo@intevation.de> flys/issue159 (WINFO: Radiobutton - Ortsauswahl bei "W für ungleichwertigen Abflusslängsschnitt" entfernen) * src/main/java/de/intevation/flys/client/client/ui/DistancePanel.java: Connected columns of the locations and distances tables with the panels from/to fields. The first two columns of the locations and the first column of the distances table might be used to set from/to values in the panel. 2011-07-01 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/DistanceInfoXML.java: New. This service - which is no GWT RPC Service - returns the distance info document as XML. The content of the document is not modified, parsed but only copied through. * src/main/java/de/intevation/flys/client/client/ui/range/DistanceInfoDataSource.java: New. This data source is used to fill the LocationsTable and RangeTable. It uses the DistanceInfoXML service to query the required data automatically using a "locations" or "distances" filter to reduce the size of the data document. * src/main/java/de/intevation/flys/client/client/ui/DistancePanel.java: Use the DistanceInfoDataSource to fill the locations and distances tables. * src/main/webapp/WEB-INF/web.xml: Registered the new service. 2011-06-30 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/range/LocationsTable.java, src/main/java/de/intevation/flys/client/client/ui/range/RangeTable.java: New. These two tables are used to support the user to select from/to values in the distance panel. * src/main/java/de/intevation/flys/client/client/ui/DistancePanel.java: Added LocationsTable and RangeTable that currently load no data. 2011-06-30 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/DistancePanel.java: New. This panel is used to insert kilometer ranges. There is no input mode for locations as it is in LocationDistancePanel. * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added i18n strings for the distance panel. * src/main/java/de/intevation/flys/client/client/ui/DoubleRangePanel.java: Added a method to set the step width. * src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java: Create a DistancePanel UIProvider if the "uiprovider" string in the DESCRIBE of an artifact equals "distance_panel". 2011-06-29 Ingo Weinzierl <ingo@intevation.de> flys/issue185 (IE8 + Chromium: Kein Zoomen von Diagrammen möglich) * src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: Create the chart image first before initialising listeners on it. * src/main/java/de/intevation/flys/client/client/ui/chart/ZoomboxControl.java: The zoombox that is displayed in while zooming is 2 pixel smaller than the area between start and end point now. This should avoid the zoombox absorbing mouse events. 2011-06-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ProjectList.java: Reordered delete and rename in project context menu, add separator. 2011-06-29 Ingo Weinzierl <ingo@intevation.de> flys/issue181 (Erstes Thema in der Themenliste wählt sich automatisch wieder an) * src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java: We will no longer check if an update of the theme list is necessary. The EditEvent that is caught should be enough information to start the update process. 2011-06-28 Ingo Weinzierl <ingo@intevation.de> * pom.xml: GWT version upgrade from 2.1.1 to 2.3.0. 2011-06-28 Ingo Weinzierl <ingo@intevation.de> Tagged RELEASE 2.4 2011-06-27 Ingo Weinzierl <ingo@intevation.de> flys/issue182 (WINFO: Vorbelegung Q bei "ungleichwertigem Abflusslängsschnitt") * src/main/java/de/intevation/flys/client/client/ui/WQAdaptedInputPanel.java: Set initial mode to Q. 2011-06-27 Ingo Weinzierl <ingo@intevation.de> * Changes: Prepared changes for the upcoming release. 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/**/*.java: Removed trailing whitespace. 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/UserCollectionsServiceImpl.java, src/main/java/de/intevation/flys/client/shared/model/CollectionRecord.java, src/main/java/de/intevation/flys/client/client/ui/chart/PanControl.java: Removed superfluous imports. 2011-06-24 Ingo Weinzierl <ingo@intevation.de> flys/issue165 (Projektliste: Einige Auffälligkeiten nach Neuimplementierung) * src/main/java/de/intevation/flys/client/client/ui/ProjectList.java: Set the maximal length of project names to 50 characters. If the name, entered by the user, is longer than this max value, it is not saved to artifact server and the old name is displayed again. * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added warning message for too long project names. 2011-06-24 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: The "zoom-to-max-extent" button will have the effect that no zoom values are transfered to the server. 2011-06-24 Ingo Weinzierl <ingo@intevation.de> flys/issue21 (Gleiches Projekt kann mehr als einmal gleichzeitig geöffnet werden) * src/main/java/de/intevation/flys/client/client/FLYS.java: Implements CollectionChangeHandler to lock new projects. In addition, there is a new method to close projects. * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: If this view contains a Collection, FLYS is used to close this window. FLYS needs to unlock the project before the view is destroyed. Otherwise - if no Collection has been created yet - this view destroys itself. 2011-06-23 Ingo Weinzierl <ingo@intevation.de> flys/issue170 (Diagramm: Initiales Zoomen zeigt verschobenen Bereich) * src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: The chart image is no longer removed from DOM but it's source is set to a new value after the panel's size changes. This makes the zoom actions much smoother and there the initial zoom values are no longer broken. * src/main/java/de/intevation/flys/client/client/ui/chart/PanControl.java: Panning will now move the image itself but not its parent element. * src/main/java/de/intevation/flys/client/shared/model/ChartInfo.java, src/main/java/de/intevation/flys/client/shared/Transform2D.java: Added methods to dump the objects to GWT log. 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Prepare for AT export. 2011-06-23 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ProjectList.java: Removed the formatter that cuts out a piece of the middle of project names. 2011-06-23 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/CollectionRecord.java: Store Html escaped strings as names. * src/main/java/de/intevation/flys/client/client/ui/ProjectList.java: Display the project's name stored at the CollectionRecord which is Html escaped. 2011-06-23 Ingo Weinzierl <ingo@intevation.de> flys/issue165 (Projektliste: Einige Auffälligkeiten nach Neuimplementierung) * src/main/java/de/intevation/flys/client/client/ui/ProjectList.java: Added tooltips and table headers. 2011-06-23 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added more i18n strings for the project list and error messages. * src/main/java/de/intevation/flys/client/client/FLYS.java: Added a handler that catches uncaught exceptions. Those exceptions are displayed using a new method showWarning(Throwable t). This method brings up a Window that displays the stacktrace of the exceptions. 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> * pom.xml: Added dependency to Apache Commons Lang 2.6 http://commons.apache.org/lang/ Used for proper HTML string escaping. * src/main/java/de/intevation/flys/client/server/ReportServiceImpl.java: Generate error reports as HTML lists. * src/main/java/de/intevation/flys/client/client/ui/ParameterList.java: Set report in corresponding panel. 2011-06-22 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/services/ReportService.java, src/main/java/de/intevation/flys/client/server/ReportServiceImpl.java, src/main/java/de/intevation/flys/client/client/services/ReportServiceAsync.java: Stub for report service. * src/main/webapp/WEB-INF/web.xml: registered new service. 2011-06-22 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added a new error string. * src/main/java/de/intevation/flys/client/client/ui/WQAdaptedInputPanel.java: Display a warning if there are no information of W and Q ranges that might be used to validate user input. 2011-06-22 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Register the CollectionView when a new collection is created. This is necessary to avoid an inconsistent view that would otherwise display projects that might have been deleted. 2011-06-22 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ProjectList.java: If an open project is removed (via context menu) the related CollectionView is removed from screen. * src/main/java/de/intevation/flys/client/client/FLYS.java: Added a method that returns the current FLYSWorkspace. * src/main/java/de/intevation/flys/client/client/ui/FLYSWorkspace.java: Added a method that destroys a CollectionView if it is open. 2011-06-22 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/DoCollectionAction.java: New. This base RPC service implementation handles collecion specific actions. It has a doAction() method that takes a Collection, the action document and a server url. * src/main/java/de/intevation/flys/client/server/SetCollectionNameServiceImpl.java, src/main/java/de/intevation/flys/client/server/DeleteCollectionServiceImpl.java, src/main/java/de/intevation/flys/client/server/SetCollectionTTLServiceImpl.java: Trigger the collection actions on the server using the DoCollectionAction class which handles the Http stuff. * src/main/java/de/intevation/flys/client/client/ui/ProjectList.java: Bugfix: If no user collections returned, we will clear the project list. 2011-06-22 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/services/SetCollectionNameServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/SetCollectionNameService.java, src/main/java/de/intevation/flys/client/server/SetCollectionNameServiceImpl.java: New. This service is used to set the name of a collection. Note, that this is currently just a stub. The ServiceImpl currently throws a "NOT IMPLEMENTED" exception. * src/main/java/de/intevation/flys/client/client/services/SetCollectionTTLServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/SetCollectionTTLService.java, src/main/java/de/intevation/flys/client/server/SetCollectionTTLServiceImpl.java: New. This service is used to set the time-to-live of a collection. Note, that this is currently just a stub. The ServiceImpl currently throws a "NOT IMPLEMENTED" exception. * src/main/java/de/intevation/flys/client/client/services/DeleteCollectionServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/DeleteCollectionService.java, src/main/java/de/intevation/flys/client/server/DeleteCollectionServiceImpl.java: New. This service is used to delete a collection. Note, that this is currently just a stub. The ServiceImpl currently throws a "NOT IMPLEMENTED" exception. * src/main/java/de/intevation/flys/client/client/ui/ProjectList.java: Calls the services SetCollectionTTLService, SetCollectionNameService and DeleteCollectionService and display a warning if an error occured. * src/main/webapp/WEB-INF/web.xml: Registered the new services. 2011-06-22 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: There are setter methods for 'name' and 'ttl' now. The project list requires this to set those attribute to a new value. * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added strings for the project list's context menu item "rename project". * src/main/java/de/intevation/flys/client/client/ui/ProjectList.java: Added a context menu item to rename the selected project and listeners to trigger setting 'name' and 'ttl' to a new value. TODO: We still need to write RPC services to update those values! 2011-06-22 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Renamed the german translation of wq mode for "Q at gauge". * src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: Adapted the layout to fit the (long) german wq mode string. 2011-06-22 Ingo Weinzierl <ingo@intevation.de> flys/issue104 (W-INFO: Wasserspiegellagenberechnung / Strecke) * src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: The old/static panel will display the selected wq mode now, because it's no longer possible to recognize the selected q mode based on the displayed units (there are two different q modes now). 2011-06-21 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/SelectProvider.java: Initialize the combobox correctly. 2011-06-21 Ingo Weinzierl <ingo@intevation.de> flys/issue156 (WINFO: Platzierung des Berechnungsberichtes) * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Do not display report modes as tabs. 2011-06-21 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/SelectProvider.java: The combobox is no longer editable now. 2011-06-21 Ingo Weinzierl <ingo@intevation.de> flys/issue21 (Gleiches Projekt kann mehr als einmal gleichzeitig geöffnet werden) * src/main/java/de/intevation/flys/client/client/ui/FLYSWorkspace.java: Open projects that are opened again via ProjectList are brought up to front and their size is restored. 2011-06-21 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/DoubleArrayPanel.java: Take care on empty fields when adding a new double value. 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/ReportMode.java: New. Mode to detect out of type 'report'. * src/main/java/de/intevation/flys/client/server/DescribeCollectionServiceImpl.java: Build ReportModes for 'report' outs. * src/main/java/de/intevation/flys/client/client/ui/ParameterList.java: Filter reports and dispatch them to updateReports(). 2011-06-21 Ingo Weinzierl <ingo@intevation.de> flys/issue132 (WINFO: Streckenauswahl per default setzen) * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java: Set the initial mode to "distance". 2011-06-21 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/DescribeCollectionServiceImpl.java, src/main/java/de/intevation/flys/client/server/UserCollectionsServiceImpl.java, src/main/java/de/intevation/flys/client/server/CreateCollectionServiceImpl.java: Read the time-to-live from collection's describe document. * src/main/java/de/intevation/flys/client/shared/model/DefaultCollection.java, src/main/java/de/intevation/flys/client/shared/model/Collection.java: Adapted the constructor calls. They require a time-to-live attribute now. This value is retrievable via getTTL(). * src/main/java/de/intevation/flys/client/client/ui/ProjectList.java: The project list has now a column that displays an icon that shows the favorite state of the project. A gold star means, the project is marked as favorite, a silver one means that the project is no favorite project. * src/main/java/de/intevation/flys/client/shared/model/CollectionRecord.java: The 'ttl' attribute returns the filename of the icon that should be displayed in the project list. * src/main/webapp/images/star_silver.png, src/main/webapp/images/star_gold.png: New. These icons - based on icons copied from famfamfam - are used to mark a project as favorite or no favorite. 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/config.xml: Set project list update interval to 5 minutes. That is enough for long living projects. 2011-06-21 Ingo Weinzierl <ingo@intevation.de> flys/issue22 (Abgelaufene Projekte/Collections werden noch in der Projektliste angezeigt.) * src/main/java/de/intevation/flys/client/client/Config.java, src/main/java/de/intevation/flys/client/client/config.xml: Added a config option to specify the update interval of the project list. This value is retrievable using the method Config.getProjectListUpdateInterval(). * src/main/java/de/intevation/flys/client/client/ui/ProjectList.java: Added a timer to update the user's collections frequently. The interval is determined by the constant UPDATE_INTERVAL which is currently 30 seconds or a config.xml option that needs to be configured at "/config/projectlist/update-interval/text()". 2011-06-21 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added i18n strings for the new output "report" for each calculation mode. 2011-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ParameterList.java: Added report panel. * src/main/java/de/intevation/flys/client/server/DescribeCollectionServiceImpl.java, src/main/java/de/intevation/flys/client/server/DistanceInfoServiceImpl.java, src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java, src/main/java/de/intevation/flys/client/client/ui/chart/MousePositionPanel.java, src/main/java/de/intevation/flys/client/client/ui/DatacageWindow.java: Removed superfluous imports. * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java, src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: 'boolean ? true : false' <=> 'boolean' 2011-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/DescribeCollectionServiceImpl.java: Removed more expensive XPath. 2011-06-20 Ingo Weinzierl <ingo@intevation.de> flys/issue140 (WINFO: WQ-Tabelle in Tabs aufsplitten) flys/issue122 (W-INFO: Wasserspiegellagenberechnung / Auswahlunterstützung Abfluss (W-Werte sind nicht auswählbar)) * src/main/java/de/intevation/flys/client/client/ui/wq/QDTable.java: New. This table is used to show Q and D values for the WQInputPanel. The first two rows are selectable icons. * src/main/java/de/intevation/flys/client/client/ui/wq/WTable.java: New. This table is used to show W values for the WQInputPanel. The rows in this table are not selectable. * src/main/java/de/intevation/flys/client/client/ui/DoubleRangePanel.java: Added methods to set the lower and upper value directly. * src/main/java/de/intevation/flys/client/client/ui/DoubleArrayPanel.java: Added a method to add a further double value to the current list. * src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: Removed the old WQD tables and replaced them with a QDTable and a WTable. The WQD values are sorted into the two tables when they are initialized. The values in the WTable are not selectable. The QDTable has two selectable columns. Based on the current mode (single values or range mode), the selected values are filled into the array panel or into the range panel. 2011-06-17 Ingo Weinzierl <ingo@intevation.de> flys/issue140 PART 1 (WINFO: WQ-Tabelle in Tabs aufsplitten) * src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: Splitted the code to determine min/max kilometer range and rivername from code to fetch WQ data via RPC. 2011-06-17 Ingo Weinzierl <ingo@intevation.de> flys/issue118 (W-INFO: Eingabe Q aus Auswahlunterstützung und Manuell) * src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: Added the "wq_free" parameter to the feed data even if the single value mode is selected. 2011-06-17 Ingo Weinzierl <ingo@intevation.de> flys/issue118 (W-INFO: Eingabe Q aus Auswahlunterstützung und Manuell) * src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: Added a further radio button to select a "Q at Gauge". In addition, this panel returns a new value "wq_free" that depends on the selected Q mode. It is "true" if Q is selected, otherwise "false". * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added strings for the new radio button. 2011-06-17 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/CollectionHelper.java: Write "index" and "description" into the attribute document. This is necessary for the ChartThemePanel. * src/main/java/de/intevation/flys/client/shared/model/Theme.java: Added a getIndex() method. 2011-06-17 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/DescribeCollectionServiceImpl.java: Read "index" and "description" of facets from collection's describe document. In addition, I replaced the expensive XPath search for attributes with DOM methods. * src/main/java/de/intevation/flys/client/shared/model/Theme.java, src/main/java/de/intevation/flys/client/shared/model/DefaultTheme.java, src/main/java/de/intevation/flys/client/shared/model/DefaultFacet.java: Themes and facets have now indices and descriptions. * src/main/java/de/intevation/flys/client/shared/model/FacetRecord.java: Display the description of a theme in the theme panel instead of the name (which represents the facet type). 2011-06-16 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/DatacageWindow.java: Alloc TreeNode array with the right size because its known. 2011-06-15 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/DoubleArrayPanel.java: Be more tolerant with entered whitespaces. 2011-06-15 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ParameterList.java: Set height of the parameter panel that shows the "old" values to "1" if no "old" value is existing. This avoids GWT throwing warning messages. 2011-06-15 Ingo Weinzierl <ingo@intevation.de> flys/issue117 (W-INFO: Wasserspiegellagenberechnung / Q-Eingabe) * src/main/java/de/intevation/flys/client/client/ui/DoubleArrayPanel.java: This panel will return a list of unique values. * src/main/java/de/intevation/flys/client/client/ui/DoubleRangePanel.java: Improved parsing of double values. 2011-06-14 Sascha L. Teichmann <sascha.teichmann@intevation.de> flys/issue88 (WINFO/Wasserspiegellage: Namensänderung im Eingabebereich von Orten und Strecken) * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Modified strings for the location/distance panel. * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java: Modified strings for the radio button and panel titles. 2011-06-14 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/DistanceInfoServiceImpl.java: Got rid of namespace. Use DOM instead of XPath. 2011-06-14 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/DistanceInfoRecord.java: Adjusted table model. * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java, src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java: Bring 'Oberkante' and 'Unterkante' into UI. * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: i18n. Repaired a few wrong encoded strings, too. 2011-06-14 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/DistanceInfoServiceImpl.java, src/main/java/de/intevation/flys/client/shared/model/DistanceInfoObjectImpl.java, src/main/java/de/intevation/flys/client/shared/model/DistanceInfoObject.java: Loop through 'Unterkante' 'Oberkante' from service. 2011-06-14 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Adapted the german error message that is displayed if the user entered a value which is not in the valid range. 2011-06-14 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/WQDataItem.java: New. This DataItem is used to save min/max W/Q values. This enables the UIProvider to validate the entered values. Currently, this is used in the WQAdaptedInputPanel only. * src/main/java/de/intevation/flys/client/server/ArtifactDescriptionFactory.java: Read the W/Q ranges from DESCRIBE document and create WQDataItems if they are existing. * src/main/java/de/intevation/flys/client/client/ui/WQAdaptedInputPanel.java: Introduced a client side input validation for the entered W/Q values with respect on their format and min/max range. 2011-06-14 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: The values entered by the user are validated on client side now taking account on the format and the river's W/Q ranges. 2011-06-14 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/DoubleArrayPanel.java: Added a method to validate the form field. If a value is not a valid double value, it returns false. * src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java: The values entered in the text field are validated regarding to the river's range. * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added error messages displayed if we were not able to read min/max values from DESCRIBE document. 2011-06-09 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added error strings for the range range/location panel. * src/main/java/de/intevation/flys/client/client/ui/AbstractUIProvider.java: Added a validate() method that is called before the event to step forward is fired. If the method returns a list with errors, the event is not fired. In that case, an error dialog is displayed. * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java: Override the validate() method of AbstractUIProvider. * src/main/java/de/intevation/flys/client/client/ui/DoubleRangePanel.java: Added a method that validates the form. 2011-06-09 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/ChartInfoServiceImpl.java: Parse min/max values for axes and all transformation matrix elements. * src/main/java/de/intevation/flys/client/shared/model/Axis.java: An axis has a min and max value now. * src/main/java/de/intevation/flys/client/shared/model/ChartInfo.java: The ChartInfo object provides a Transform2D object for each y axis contained in the chart. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: Refactored the zoom and pan actions. The values used to select a concrete clip of the chart are computed based on the min/max range of an axis. The chart request uses percentual values for axes ranges now. 2011-06-09 Ingo Weinzierl <ingo@intevation.de> flys/issue139 (WINFO: NPE bei Step-Back bei ungleichwertiger Berechnungsart) * src/main/java/de/intevation/flys/client/client/ui/WQAdaptedInputPanel.java: Fixed NPE while initialising user values. 2011-06-08 Ingo Weinzierl <ingo@intevation.de> flys/issue103 PART 2 (WINFO: Wasserspiegellagenberechnung / Layout-Inkonsistenz) * src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: Append the unit of W or Q to the values in the single mode. 2011-06-08 Ingo Weinzierl <ingo@intevation.de> flys/issue43 (i18n: Einige Verbesserungen) * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties: Adjusted the english text that is displayed before switching to another language. 2011-06-08 Ingo Weinzierl <ingo@intevation.de> flys/issue21 (Gleiches Projekt kann mehr als einmal gleichzeitig geöffnet werden) * src/main/java/de/intevation/flys/client/client/FLYS.java: Introduced a lock mechanism for projects. When a project is opened, it becomes locked. Further clicks on that project in the project list will have no effect except it brings up the project window. * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Implements the CloseClickHandler interface now. The operations triggered by the "x" in the upper right corner of the window will close and destroy the window. This has been done automatically before. * src/main/java/de/intevation/flys/client/client/ui/FLYSWorkspace.java: Added a new method that brings up a project window. 2011-06-08 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/ChartInfoServiceImpl.java: Skip axes that lay out of valid bounds. E.g. there are 2 axes: if one of those axes position is > 1 it is skipped. 2011-06-08 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: Don't crash if there is no transformer. 2011-06-08 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ProjectList.java: Added a dirty hack to accept project names shorter than 30 characters without cutting a part from the middle. 2011-06-07 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/PanControl.java: Implemented the onMouseOut() method. If this event is catched, the current pan operation is finished (not canceled). 2011-06-07 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/Axis.java: New. This class should represent an axis in a chart. * src/main/java/de/intevation/flys/client/shared/model/ChartInfo.java: New. This class is used by the ChartInfoService to retrieve more information about a Chart that just the Transform2D object to reproject points. It currently stores x and y axes and the Transform2D object of a chart. * src/main/java/de/intevation/flys/client/client/services/ChartInfoServiceAsync.java, src/main/java/de/intevation/flys/client/server/ChartInfoServiceImpl.java, src/main/java/de/intevation/flys/client/client/services/ChartInfoService.java: Changed the return value of this service from Transform2D to ChartInfo. The Transform2D object is included in this new ChartInfo. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: Implements the PanHandler interface. If a PanEvent is fired by the PanControl, a new chart range is computed using the axes information provided by the ChartInfo object (that has been retrieved by the ChartInfoService). * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java: Added the PanControl to the toolbar. 2011-06-07 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/event/HasPanHandlers.java, src/main/java/de/intevation/flys/client/client/event/PanEvent.java, src/main/java/de/intevation/flys/client/client/event/PanHandler.java: New. Classes and interfaces necessary for a pan listeners mechanism. * src/main/java/de/intevation/flys/client/client/ui/chart/PanControl.java: New. A control that enables the user to pan a chart. * src/main/webapp/images/pan.png, src/main/webapp/images/pan_Selected.png: Icons for the PanControl. * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added links to the pan icons. 2011-06-07 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/services/CSVExportServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/CSVExportService.java, src/main/java/de/intevation/flys/client/server/CSVExportServiceImpl.java: Changed the return value of this service from List to List<String[]>. This helps GWT creating JavaScript objects. * src/main/java/de/intevation/flys/client/client/ui/TableDataPanel.java: Adjusted the return value of the CSVExportService and added a warning dialog if an error occured while fetching those data. 2011-06-07 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/ChartServiceHelper.java: New. This class helps generating the attribute document that is used for generating charts. * src/main/java/de/intevation/flys/client/client/services/ChartInfoServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/ChartInfoService.java, src/main/java/de/intevation/flys/client/server/ChartInfoServiceImpl.java, * src/main/java/de/intevation/flys/client/server/ChartOutputServiceImpl.java: Removed the code to create the chart attribute document. This work is done in the ChartServiceHelper. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: Added a method that returns all attribute that should be used for the chart creation. Currently, there are width, height, x and y ranges. 2011-06-06 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: Repaired broken zoom-out control. We will now zoom out for 10% of the axis range. E.g. range before = 2 - 10 , range after = 1.2 - 10.8 2011-06-06 Ingo Weinzierl <ingo@intevation.de> flys/issue131 (Anzeige der Position bei großen Zahlen ungenau) * src/main/java/de/intevation/flys/client/server/ChartInfoServiceImpl.java: Repaired a broken XPath expression for the chart attributes. 2011-06-06 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ZoomboxControl.java: Added a handler that listens to mouse out events. If the mouse moves out of the chart area, the current zoom operation is canceled. The zoombox and the coordinates are reset. 2011-06-03 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: Added a method that allows zooming out for a specified factor (between 0-100). * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java: Added a button to zoom out 10%. * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: * src/main/webapp/images/zoom-out.png: New. The icon for the zoom-out control. 2011-06-03 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: New method to reset the zoom. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java: Added a button that resets the zoom and triggers an update of the chart. * src/main/java/de/intevation/flys/client/client/ui/chart/ZoomboxControl.java: This control inherits from ImgButton now. The icon displayed for this control is the same as in the desktop version of this software. * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added links to zoom button images. * src/main/webapp/images/zoom-in_Selected.png, src/main/webapp/images/zoom-1.png, src/main/webapp/images/zoom-in.png: Images used for the zoom buttons. 2011-06-03 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/ChartOutputServiceImpl.java: Append the selected min and max ranges for x and y axes to the attribute document. This enables the server to zoom the chart to the specified view. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: The x and y ranges specified after zooming are stored as instance variables and used while creating the chart imgage url. The ChartOutputService will put those ranges into the attribute document for the chart creation. 2011-06-01 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: Implements the ZoomHandler interface now. Currently, the values are just received from ZoomboxControl. We still need to refresh the chart with those zoom values. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java: Registered the ChartOutputTab as ZoomHandler at the ZoomboxControl. * src/main/java/de/intevation/flys/client/client/ui/chart/ZoomboxControl.java: Bugfix: fire the ZoomEvent when mouse up events occur. The events was not fired anytime. 2011-06-01 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/event/HasZoomHandlers.java, src/main/java/de/intevation/flys/client/client/event/ZoomHandler.java, src/main/java/de/intevation/flys/client/client/event/ZoomEvent.java: New. Necessary interfaces and classes for a listener mechanism for zoom events. * src/main/java/de/intevation/flys/client/client/ui/chart/ZoomboxControl.java: New. A zoombox control that draws - if activated - an semi opaque rectangle on the top of the observed panel. This control uses mouse up/down/move events to draw the rectangle. A mouse down event starts the zoom process, a mouse up event determines the coordinates for the zoom and fires a ZoomEvent. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java: Added the ZoomboxControl. 2011-06-01 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java: Moved the mouse position panel to the right border of the toolbar panel. * src/main/java/de/intevation/flys/client/client/ui/chart/MousePositionPanel.java: Improved the layout of this HLayout panel. It has a fixed width of 195px now. The components inside this panel have also fixed width values. 2011-06-01 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: After the chart panel is resized, we will now fetch a chart info document using the ChartInfoService. This service lets us update the current Transform2D - which is used to display mouse position in chart coordinates and determine mouse clicks for zooming. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java: Changed the constructor call of the MousePositionPanel. It needs to ChartOutputTab now. * src/main/java/de/intevation/flys/client/client/ui/chart/MousePositionPanel.java: Changed the way to compute the chart coordinates. We will now use the Transform2D object that is returned by the ChartInfoService. 2011-06-01 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Made the collection object accessible. 2011-06-01 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/ChartInfoServiceImpl.java: Removed a debug statement. 2011-06-01 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/Transform2D.java: New. This class transforms coordinates into an other coordinate system based on specified scale and translation factors. * src/main/java/de/intevation/flys/client/client/services/ChartInfoServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/ChartInfoService.java, src/main/java/de/intevation/flys/client/server/ChartInfoServiceImpl.java: New. A service that fetches the chart info document provided by the artifact server and returns (currently) a Transform2D object. * src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added an error string that should be displayed if the chart info service failed. * src/main/webapp/WEB-INF/web.xml: Registered the chart info service. 2011-05-27 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: Added a public method that returns the chart panel. * src/main/java/de/intevation/flys/client/client/ui/chart/MousePositionPanel.java: New. A panel that displays the mouse position relative to a element. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java: Added the MousePositionPanel. NOTE: The MousePositionPanel does NOT show the correct position and it does NOT show the x|y coordinates in chart dimension yet! 2011-05-27 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: Moved the toolbar code into an own class. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java: New. The toolbar used for chart panels. 2011-05-27 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/MainMenu.java: Replaced buttons displayed as labels with real buttons. * src/main/java/de/intevation/flys/client/client/ui/MainMenu.java, src/main/java/de/intevation/flys/client/client/ui/chart/ThemeNavigationPanel.java, src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: Replaced label buttons with real buttons. * src/main/webapp/images/theme_top.png, src/main/webapp/images/theme_up.png, src/main/webapp/images/theme_bottom.png, src/main/webapp/images/theme_down.png: New. Images used in the ThemeNavigationPanel for buttons to move themes. * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added i18n string for the databasket and pathes for the icons used in the ThemeNavigationPanel. 2011-05-27 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/event/HasOutputParameterChangeHandlers.java, src/main/java/de/intevation/flys/client/client/event/OutputParameterChangeHandler.java, src/main/java/de/intevation/flys/client/client/event/OutputParameterChangeEvent.java: Interface and class to realize a listener mechanism for output parameter changes. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java: Implements the OutputParameterChangeHandler interface. After the output parameter of the chart have changed, the chart is refreshed. NOTE: The panel is disabled right before the RPC call to replace the collection's attribute is executed. It is enabled after the RPC call has finished. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: Implements the HasOutputParameterChangeHanders interface. The event is fired if there are changes in the chart theme control panel. 2011-05-27 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/CollectionAttributeServiceImpl.java: Connected this service with the artifact server. Modifications of a Collection will be stored in the artifact database now. * src/main/java/de/intevation/flys/client/server/CollectionHelper.java: New. This helper is currently used to create the attribute document of a collection based on a Collection itself. This helper now takes the attributes of the Collection and transforms those values into XML. 2011-05-27 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/Theme.java, src/main/java/de/intevation/flys/client/shared/model/DefaultTheme.java: Added a setter method to set the 'active' attribute if a theme. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java: After editing themes in the theme control panel will now modify the themes stored at the collection as well. 2011-05-26 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/Theme.java, src/main/java/de/intevation/flys/client/shared/model/DefaultTheme.java: Added further methods to set the position of a theme to a new value and to compare two theme objects. * src/main/java/de/intevation/flys/client/shared/model/ThemeList.java: Added a method to set the position of a theme to a new value. Based on the new position, all other themes in this list are moved up or down. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java: The actions in the navigation panel have now an effect on the order of the themes in the theme list. The selected theme/s is/are moved to top/bottom or just a single field up/down. NOTE: The order still have no effect on the chart rendering process. 2011-05-25 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/event/OnMoveHandler.java, src/main/java/de/intevation/flys/client/client/event/OnMoveEvent.java: New. Necessary classes and interfaces for a listener mechanism that is used to inform handlers about a movement. E.g. the movement of a theme. * src/main/java/de/intevation/flys/client/client/ui/chart/ThemeNavigationPanel.java: New. A panel that consist of four buttons that throw OnMoveEvents after pushing it. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java: In addition, it implements the OnMoveHandler interface to listen to move events. NOTE: We need to implement the code that moves themes up/down. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: Set the minimum width of the theme panel to 200px. 2011-05-25 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/services/CollectionAttributeService.java, src/main/java/de/intevation/flys/client/client/services/CollectionAttributeServiceAsync.java, src/main/java/de/intevation/flys/client/server/CollectionAttributeServiceImpl.java: New. This service should be used to modify/update the attribute of a collection. NOTE: The update process needs to be implemented! Currently, the only thing this service does is, that is waits 5sec and fetches a new description right after this ;-) * src/main/java/de/intevation/flys/client/shared/model/ThemeList.java: Added methods to remove and add themes. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java: Changes in the theme panel will now trigger the update process of the collection's attribute using the CollectionAttributeService. * src/main/webapp/WEB-INF/web.xml: Registered the new service. 2011-05-25 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/DefaultTheme.java: Removed a bug that caused that the artifact of a default theme is never set. 2011-05-25 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/DescribeCollectionServiceImpl.java: Parse the theme lists - contained in the attribute of the collection - and add those lists to the collection. The lists are retrievable using the method getThemeList(String outName). * src/main/java/de/intevation/flys/client/shared/model/Theme.java, src/main/java/de/intevation/flys/client/shared/model/DefaultTheme.java: The interface and its default implementation of a theme. A theme represents a curve in a chart or a layer in a map. The default implementation knows about the facet, the position, the status and the artifact this theme belongs to. * src/main/java/de/intevation/flys/client/shared/model/ThemeList.java: New. A ThemeList is a wrapper for themes and should provide some functions to process regularly used operations on a list of themes. * 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 constructor that takes a ThemeList as well and a method to retrieve a ThemeList based on the name of the output. * src/main/java/de/intevation/flys/client/shared/model/FacetRecord.java: This record no longer stores facets but themes. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java: Modified the process of adding new themes to the theme grid. 2011-05-25 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/FacetRecord.java: New. This ListRecord is used to display facets in grids. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java: New. This panel contains elements to control the themes of a chart. * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added i18n strings for the ChartThemePanel. * src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: The left side of this panel is filled with the ChartThemePanel now. 2011-05-25 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/meta/Converter.java, src/main/java/de/intevation/flys/client/server/MetaDataServiceImpl.java, src/main/java/de/intevation/flys/client/client/ui/MapSelection.java, src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java, src/main/java/de/intevation/flys/client/client/ui/ModuleSelection.java: Removed needless imports. 2011-05-25 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart: A new package for all chart relevant classes. * src/main/java/de/intevation/flys/client/client/ui/ChartOutputTab.java, src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: Moved the ChartOutputTab to the chart package. * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Adapted imports - added ChartOutputTab that has been moved to chart subpackage. 2011-05-25 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java: Bugfix: We return the inserted values only in getData(). We do not return Data objects with no value. This prevents NullPointerExceptions that occur if no location has been inserted - e.g. the case if we selected a range. 2011-05-24 Ingo Weinzierl <ingo@intevation.de> ISSUE-91 ISSUE-40 (part II/II) * src/main/java/de/intevation/flys/client/client/ui/WQAdaptedInputPanel.java, src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java, src/main/java/de/intevation/flys/client/client/ui/SelectProvider.java, src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java: Read default values in those panels and fill the form items with that data. 2011-05-24 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added i18n error messages. 2011-05-24 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java: Take care on empty Data objects while initializing default values. 2011-05-24 Ingo Weinzierl <ingo@intevation.de> ISSUE-85 (part II/III) * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java: Repaired this broken panel. Now, we distinguish between the two modes 'range' and 'locations'. 2011-05-24 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/ArtifactDescriptionFactory.java: Read the default values for Data objects from DESCRIBE. 2011-05-24 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/Data.java, src/main/java/de/intevation/flys/client/shared/model/DefaultData.java: A data item can now have a default value and a default label. 2011-05-23 Ingo Weinzierl <ingo@intevation.de> ISSUE-62 (part I/II) * src/main/java/de/intevation/flys/client/client/event/OutputModesChangeEvent.java, src/main/java/de/intevation/flys/client/client/event/HasOutputModesChangeHandlers.java, src/main/java/de/intevation/flys/client/client/event/OutputModesChangeHandler.java: Classes and interfaces that are necessary to build up a listener mechanism for output mode changes. * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java:: Implements the HasOutputModesChangeHandlers and OutputModesChangeHandler interfaces. * src/main/java/de/intevation/flys/client/client/ui/ParameterList.java: Implements the OutputModesChangeHandler interface which enables us to update the export panel even after the outs of an artifact have changed. 2011-05-20 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/config.xml: Reverted to default config; unintentional change in previous commit 2011-05-20 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added missing i18n strings for duration curve export. 2011-05-20 Ingo Weinzierl <ingo@intevation.de> Tagged RELEASE 2.3.1 2011-05-20 Ingo Weinzierl <ingo@intevation.de> * Changes: Prepared Changes for the upcoming release. 2011-05-20 Hans Plum <hans@intevation.de> * src/main/java/de/intevation/flys/client/client/config.xml: Reverted to default config; unintentional change in previous commit 2011-05-20 Hans Plum <hans@intevation.de> * NEWS: Added information for Release V 2.3.1 for endusers 2011-05-19 Ingo Weinzierl <ingo@intevation.de> Tagged RELEASE 2.3.1 * Changes: Prepared for release. 2011-05-19 Ingo Weinzierl <ingo@intevation.de> ISSUE-35 * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Added a maximize button to this view. 2011-05-19 Ingo Weinzierl <ingo@intevation.de> ISSUE-43 * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties: Adapted the english waring that is displayed before a language switch takes place. 2011-05-19 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added i18n strings for exports of computed discharge curves. 2011-05-18 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added i18n strings for exports. 2011-05-17 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added i18n string for wst export. * src/main/java/de/intevation/flys/client/client/ui/ExportPanel.java: Set a maximum size of the export button and added a tooltip to distinguish exports. NOTE: We should consider using specific images for each export type. 2011-05-17 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/ExportServiceImpl.java, src/main/java/de/intevation/flys/client/server/ChartOutputServiceImpl.java: Adapted a method signature of ClientProtocolUtils that has been changed in the last revision. 2011-05-17 Ingo Weinzierl <ingo@intevation.de> Tagged RELEASE 2.3 2011-05-16 Hans Plum <hans@intevation.de> * NEWS: Added version number and release date for V 2.3 2011-05-16 Hans Plum <hans@intevation.de> * NEWS: New. Describing new functionality and some backgrounds in MoinMoin-Wiki Syntax (in german only) from the user perspective. It does not differentiate between client and server-specific code! 2011-05-13 Ingo Weinzierl <ingo@intevation.de> * Changes: Prepared Changes for the upcoming release 2.3 - see Changes file to get to know about the change of version number. 2011-05-12 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/meta/Converter.java: New. Converts the incoming XML to a more informative way. * src/main/java/de/intevation/flys/client/server/MetaDataServiceImpl.java: Use the new converter. 2011-05-12 Raimund Renkert <rrenkert@intevation.de> ISSUE-61 * src/main/java/de/intevation/flys/client/client/ui/ChartOutputTab.java: Changed datacage button style. 2011-05-12 Raimund Renkert <rrenkert@intevation.de> ISSUE-46 * src/main/java/de/intevation/flys/client/client/ui/TableDataPanel.java, src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java, src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java, src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java: Removed the table header context menu. * src/main/java/de/intevation/flys/client/client/ui/LinkSelection.java: Removed log message. 2011-05-12 Raimund Renkert <rrenkert@intevation.de> ISSUE-43 * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Changed i18n strings. 2011-05-12 Raimund Renkert <rrenkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/LinkSelection.java: New. Shows a list of rivers displayed as links. * src/main/java/de/intevation/flys/client/client/ui/ParameterList.java, src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java, src/main/java/de/intevation/flys/client/client/ui/MapSelection.java, src/main/java/de/intevation/flys/client/client/ui/ModuleSelection.java: Use the new Panel to show rivers as links. 2011-05-12 Ingo Weinzierl <ingo@intevation.de> ISSUE-15 * src/main/java/de/intevation/flys/client/client/ui/ChartOutputTab.java: After resizing the chart panel, the chart/image is replaced by a new chart with adjusted width and height (requested from server). 2011-05-12 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ChartOutputTab.java: Defined the chart size (600x500). * src/main/java/de/intevation/flys/client/server/ChartOutputServiceImpl.java: Query the chart in the requested size defined in the GET-parameters of the request. 2011-05-12 Ingo Weinzierl <ingo@intevation.de> ISSUE-34 * src/main/java/de/intevation/flys/client/client/ui/FLYSWorkspace.java: The number of windows which are moved the right lower browser window corner is limited to 10 windows now. The 11th window is placed at the left upper corner again. Window 12-20 are moved with an offset into to the right lower corner again. 2011-05-11 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/DataCageNode.java, src/main/java/de/intevation/flys/client/shared/model/DataCageTree.java: New. Server -> Client transport model. Ugly because it re-invents XML documents. XML is received by the RPC service from the artifact server, transformed into this transport representation and this is transformed in ui elements on the client side. * src/main/java/de/intevation/flys/client/server/MetaDataServiceImpl.java: Transform the incoming XML to transport representation. TODO: Do not simply copy the XML. * src/main/java/de/intevation/flys/client/client/services/MetaDataServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/MetaDataService.java: Changed signature tio transport the tree. * src/main/java/de/intevation/flys/client/client/ui/DatacageWindow.java: Transform the transport tree into ui elements. 2011-05-11 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ExportPanel.java: Changed the height of this panel to be visible in all browsers. 2011-05-11 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/MetaDataServiceImpl.java: Call the service. TODO: transport artifact server result to client. * src/main/java/de/intevation/flys/client/client/services/MetaDataServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/MetaDataService.java: Extended interfaces to cope with i18n. * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Error messages if the artifact meta data service is not reachable. * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Forward collection view to chart output tab. * src/main/java/de/intevation/flys/client/client/ui/ChartOutputTab.java: Forward artifact to fetch river name later. * src/main/java/de/intevation/flys/client/client/ui/DatacageWindow.java: New. UI code for the data cage panel. TODO: build tree from service data. * src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java: Added simple break in a loop if river was found. 2011-05-11 Ingo Weinzierl <ingo@intevation.de> ISSUE-56 * src/main/java/de/intevation/flys/client/shared/model/DefaultOutputMode.java, src/main/java/de/intevation/flys/client/shared/model/OutputMode.java: Added a further method that returns all available facets. * src/main/java/de/intevation/flys/client/client/ui/ExportPanel.java: New. This panel is used to serve download links for each export mode / type of a collection. * src/main/java/de/intevation/flys/client/client/ui/ParameterList.java: Implements the CollectionChangeHandler interface now. If a Collection changes, the available output modes are analyzed. If there are export modes available, those modes are displayed in a so called 'ExportPanel'. * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Registered the ParameterList as CollectionChange handler. * src/main/webapp/FLYS.css: Added a stylesheet for the export panels title. * src/main/webapp/images/save.gif: New. This image is displayed in the export panel. * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: New i18n strings for the export panel. 2011-05-11 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/ExportServiceImpl.java: New. This service is a "proxy servlet" that enables the GUI to add download buttons for exporting the computed data of the artifact server. * src/main/java/de/intevation/flys/client/client/services/CSVExportService.java: Changed the URL part to query the CSV export ('export' -> 'csv'). * src/main/webapp/WEB-INF/web.xml: Registered the new ExportService. 2011-05-11 Raimund Renkert <rrenkert@intevation.de> ISSUE 34 * src/main/java/de/intevation/flys/client/client/ui/FLYSWorkspace.java: Move every new project window 20 px multiplicated with the window count down and right. 2011-05-11 Raimund Renkert <rrenkert@intevation.de> ISSUE 44 * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java, src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java, src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java: Moved the location/range and WQ input tables to the helper panel on the right. The tables have a dynamic size now. 2011-05-11 Raimund Renkert <rrenkert@intevation.de> ISSUE 41 (part2) * src/main/java/de/intevation/flys/client/client/ui/ParameterList.java: Set the computation result panel width and height to 100%. The panel resizes with its parent component now. 2011-05-11 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/ExportMode.java: New. A derived OutputMode that is used to mark an OutputMode as an export. * src/main/java/de/intevation/flys/client/shared/model/OutputMode.java, src/main/java/de/intevation/flys/client/shared/model/DefaultOutputMode.java: Added methods to provide facets in output modes. * src/main/java/de/intevation/flys/client/server/DescribeCollectionServiceImpl.java: Extract facets from DESCRIBE and distinguish between an ordinary OutputMode or an ExportMode. * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Replaced the determination of an export mode for creating new OutputTabs. Now, we just create new OutputTabs for OutputModes that are no instance of ExportMode. Furthermore, the computation output panel is now displayed if there is an output mode which: - is an ExportMode - has a facet which name is "csv" 2011-05-11 Ingo Weinzierl <ingo@intevation.de> ISSUE-41 (part1) * src/main/java/de/intevation/flys/client/client/ui/ParameterList.java: Moved the computation result panel right beside the parameterization. TODO: This panel has now hard coded width/height. The result of this is, that it does not change its size when the parent component is resized. So, the width and height should be set to 100%. 2011-05-11 Ingo Weinzierl <ingo@intevation.de> ISSUE-57 * src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java: Replaced wrong i18n function name. 2011-05-10 Ingo Weinzierl <ingo@intevation.de> ISSUE-48 * src/main/java/de/intevation/flys/client/client/ui/ChartOutputTab.java: Added labels placeholder for the theme control panel and the toolbar. Both panels now have a black border. 2011-05-10 Ingo Weinzierl <ingo@intevation.de> ISSUE-38 * src/main/java/de/intevation/flys/client/client/ui/SelectProvider.java: Set the first value of a select box as default value. 2011-05-10 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added i18n error messages required if the data input failed in the adapted WQ panel. 2011-05-10 Raimund Renkert <rrenkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: Changed the empty table message for the WQ input table. 2011-05-10 Raimund Renkert <rrenkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/TableDataPanel.java, src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java, src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java: Changed the empty table text from default to "Loading data". * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added i18n strings for empty table text. * src/main/java/de/intevation/flys/client/server/CSVExportServiceImpl.java: Changed author. 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/server/MetaDataServiceImpl.java, src/main/java/de/intevation/flys/client/client/services/MetaDataServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/MetaDataService.java: New. Stub for new meta data service. * src/main/webapp/WEB-INF/web.xml: Registered meta data service. 2011-05-10 Raimund Renkert <rrenkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java: Fixed the location input. A range selection sets the correct location values now. 2011-05-10 Raimund Renkert <rrenkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ParameterList.java, src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Remove the data table on step back. 2011-05-10 Raimund Renkert <rrenkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Use the name instead of the description to determine the output mode. * src/main/java/de/intevation/flys/client/server/CSVExportServiceImpl.java: Removed obsolete code. * src/main/java/de/intevation/flys/client/client/ui/TableDataPanel.java: Build up a dynamic table for different header count. The first line of CSV data is used to set the header title. 2011-05-10 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/CSVExportServiceImpl.java: Bugfix: Use the ElementCreator from XMLUtils to add attribute to nodes in the xml document. Then, those nodes will have the ArtifactNamespace automatically. If we do something like node.setAttribute("art:attr", "value") Restlet will throw an exception, because it does not know the "art:" namespace. 2011-05-09 Ingo Weinzierl <ingo@intevation.de> * pom.xml: Bugfix: replaced the goupId of the OpenCSV dependency with the correct id. 2011-05-09 Raimund Renkert <rrenkert@intevation.de> * src/main/java/de/intevation/flys/client/server/CSVExportServiceImpl.java, src/main/java/de/intevation/flys/client/client/services/CSVExportServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/CSVExportService.java: New service. Requests CSV data and returns a list of lines in a string array. * src/main/java/de/intevation/flys/client/client/ui/TableDataPanel.java: New. Displays the data requested by the new service. * src/main/java/de/intevation/flys/client/client/ui/ParameterList.java, src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Added the table to UI. * src/main/webapp/WEB-INF/web.xml: Registered new service. * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added strings for the new table. * pom.xml: Added dependency: au.com.bytecode.opencsv, version 2.0; 2011-05-09 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/WQAdaptedInputPanel.java: Added radio buttons to choose between W/Q mode. 2011-05-09 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/ChartOutputServiceImpl.java, src/main/java/de/intevation/flys/client/client/ui/ChartOutputTab.java: Bugfix: the current locale string is used to fetch the chart image now which enables the client to present localized charts. 2011-05-09 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ProjectList.java: Added a doubleclick listener to the rows of this list. A doubleclick will now open the selected project. 2011-05-09 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/DistanceInfoRecord.java, src/main/java/de/intevation/flys/client/client/Config.java, src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java: Removed superfluous imports. 2011-05-09 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties: Changed wording: 'distance' -> 'range'. 2011-05-05 Raimund Renkert <rrenkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: Enable or disable table rows depending on the WQ selection. 2011-05-05 Raimund Renkert <rrenkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: Implemented handler for the value selection. 2011-05-05 Raimund Renkert <rrenkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: Added table for WQ inputs. TODO: Implement the selection and set the values. * src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: New i18n strings for the WQ input table. 2011-05-05 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/AbstractUIProvider.java, src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: Moved functions getData() and getDataItem() from WQInputPanel to AbstractUIProvider to make it accessible in all UIProvider that inherit from AbstractUIProvider. * src/main/java/de/intevation/flys/client/client/ui/WQAdaptedInputPanel.java: Implemented the methods to create the old widget of thi panel. 2011-05-05 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added new i18n displayed in the WQAdaptedInputPanel. * src/main/java/de/intevation/flys/client/client/ui/WQAdaptedInputPanel.java: The list of input fields for each intersected gauge is created now. The correct w/q values will be returned after the submit button has been clicked. * src/main/java/de/intevation/flys/client/client/ui/DoubleArrayPanel.java: The orientation of the field label might be adjusted using a new constructor parameter. Furthermore, there is a new method (which has no parameters) that returns the double values inserted in this panel. 2011-05-04 Raimund Renkert <rrenkert@intevation.de> * src/main/java/de/intevation/flys/client/server/WQInfoServiceImpl.java, src/main/java/de/intevation/flys/client/client/services/WQInfoServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/WQInfoService.java: New. This service fetches WQ information from the server. * src/main/java/de/intevation/flys/client/shared/model/WQInfoRecord.java, src/main/java/de/intevation/flys/client/shared/model/WQInfoObjectImpl.java, src/main/java/de/intevation/flys/client/shared/model/WQInfoObject.java: New. Data structures for the WQ information. * src/main/webapp/WEB-INF/web.xml: Added new service. 2011-05-04 Raimund Renkert <rrenkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java: Do not update the locations table if no data is cached. 2011-05-04 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/WQAdaptedInputPanel.java: New. This UIProvider is used to enter W/Q values associated with a set of gauges. NOTE: This is currently just a stub implementation used for further development. * src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java: Initialize the WQAdaptedInputPanel if the uiprovider flag is set to "wq_panel_adapted". * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: New i18n strings for the "discharge longitudinal section. 2011-05-04 Raimund Renkert <rrenkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java: Fixed the input panel. It takes manual input now and the table data is filtered correctly. 2011-05-04 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Renamed the non-computed discharge curves into 'Discharge Curves at Gauges' (german 'Abflusskurven an Pegeln') to distinuish the two output types for discharge curves. 2011-05-04 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: New i18n strings for the computed discharge curve. 2011-05-03 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: New i18n strings for new output modes. 2011-05-03 Raimund Renkert <rrenkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java: Added new UI provider for single location selection. * src/main/java/de/intevation/flys/client/client/ui/DoubleArrayPanel.java: Check if the values are not null. * src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java: New. Takes a single location from the location input table. 2011-05-02 Raimund Renkert <rrenkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java: The table data is cached in a new variable. The location table for distance input is rebuild on distance selection. 2011-05-02 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: Introduced two further parameters to determine the selection mode of this panel. 2011-05-02 Raimund Renkert <rrenkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java: Added location and distance tables. A selection fills the textfield with the selected values. * src/main/java/de/intevation/flys/client/shared/model/DistanceInfoRecord.java: New. * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added i18n strings for the new tables. * src/main/java/de/intevation/flys/client/client/FLYSImages.java: Added new images. * src/main/java/de/intevation/flys/client/client/images/marker_green.png, src/main/java/de/intevation/flys/client/client/images/marker_red.png: New. 2011-05-02 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: Bugfix: The WQ panel now returns the correct step width value if the range mode is selected. 2011-04-29 Raimund Renkert <rrenkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/DoubleArrayPanel.java, src/main/java/de/intevation/flys/client/client/ui/DoubleRangePanel.java: Added setter for the location and distance values. * src/main/java/de/intevation/flys/client/client/ui/AbstractUIProvider.java, src/main/java/de/intevation/flys/client/client/ui/UIProvider.java: Added setter for an artifact. * src/main/java/de/intevation/flys/client/client/ui/ParameterList.java: Set the current artifact to the provider to make the old data available for the other widgets. 2011-04-28 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: New i18n strings for a 'longitudinal section curve' output tab. 2011-04-28 Raimund Renkert <rrenkert@intevation.de> Added class diagrams. * doc/Flys-UI-Classes.png, doc/Flys-UI-Services-Classes.png: New. 2011-04-18 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/StepForwardServiceImpl.java: The error key that is provided by the FLYS artifact server is read from feed() result document and used to bring up an error popup with an translated error message. * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: Added error messages for the feed operation. 2011-04-14 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/Config.java: A new method returns the name of the current locale now. * src/main/java/de/intevation/flys/client/server/DescribeCollectionServiceImpl.java, src/main/java/de/intevation/flys/client/server/ArtifactServiceImpl.java, src/main/java/de/intevation/flys/client/server/UserCollectionsServiceImpl.java, src/main/java/de/intevation/flys/client/server/GetArtifactServiceImpl.java, src/main/java/de/intevation/flys/client/server/UserServiceImpl.java, src/main/java/de/intevation/flys/client/server/CreateCollectionServiceImpl.java, src/main/java/de/intevation/flys/client/server/StepForwardServiceImpl.java, src/main/java/de/intevation/flys/client/server/AdvanceServiceImpl.java, src/main/java/de/intevation/flys/client/server/AddArtifactServiceImpl.java, src/main/java/de/intevation/flys/client/server/DistanceInfoServiceImpl.java, src/main/java/de/intevation/flys/client/server/RiverServiceImpl.java, src/main/java/de/intevation/flys/client/client/services/UserService.java, src/main/java/de/intevation/flys/client/client/services/CreateCollectionService.java, 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/client/services/DescribeCollectionServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/GetArtifactServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/ArtifactServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/DescribeCollectionService.java, src/main/java/de/intevation/flys/client/client/services/ArtifactService.java, src/main/java/de/intevation/flys/client/client/services/GetArtifactService.java, src/main/java/de/intevation/flys/client/client/services/StepForwardServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/AdvanceServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/StepForwardService.java, src/main/java/de/intevation/flys/client/client/services/AdvanceService.java, src/main/java/de/intevation/flys/client/client/services/AddArtifactServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/DistanceInfoServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/AddArtifactService.java, src/main/java/de/intevation/flys/client/client/services/DistanceInfoService.java, src/main/java/de/intevation/flys/client/client/services/UserCollectionsServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/UserServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/CreateCollectionServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/UserCollectionsService.java: Introduced a "locale" parameter that stores the name of the current locale. This is used to set the locale of the request object manually. * src/main/java/de/intevation/flys/client/client/FLYS.java, src/main/java/de/intevation/flys/client/client/ui/ProjectList.java, src/main/java/de/intevation/flys/client/client/ui/ParameterList.java, src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Modified the RPC service calls (introduction of a locale). 2011-04-12 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: The title of the ParameterList depends on the Artifact's name if we gonna create a new CollectionView with an existing Artifact. 2011-04-12 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/Artifact.java, src/main/java/de/intevation/flys/client/shared/model/DefaultArtifact.java: An artifact knows its name now. It is retrievable via getName(). * src/main/java/de/intevation/flys/client/shared/model/WINFOArtifact.java: New. A concrete class that represents an Artifact using the WINFO parameterization. * src/main/java/de/intevation/flys/client/server/FLYSArtifactCreator.java: The ArtifactCreator builds up new Artifacts based on the name in the DESCRIBE document. If no name is included, a DefaultArtifact is created. 2011-04-12 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/CollectionRecord.java: This record class uses the default mechanism to store/load values - it uses the setAttribute() and getAttribute() methods now. * src/main/java/de/intevation/flys/client/client/ui/ProjectList.java: The list is sorted based on the project's creation time now. * src/main/java/de/intevation/flys/client/client/ui/CollectionGrid.java: Removed. The collection grid is no longer used, because the fields are created by using default mechanisms (setting the field type, using cell formatter). 2011-04-12 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYS.java: Implemented a method to open an existing project. The method takes the UUID of a Collection and creates a new CollectionView with ParameterList based on the first Artifact that is stored in that Collection. NOTE: Maybe we need to introduce a mechanism to mark the artifact that defines the parameterization. I am not sure, if the first artifact is always the artifact that the Collection's parameterization is based on! * src/main/java/de/intevation/flys/client/client/ui/ProjectList.java: Triggers the method of FLYS to open an existing project. 2011-04-12 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ParameterList.java, src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Added new constructors that enables us to create instances with an existing parameterization (with a given artifact). 2011-04-12 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added further error messages. 2011-04-12 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/CollectionRecord.java: There is a new method that returns the Collection object which is represented by this record. 2011-04-12 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/services/GetArtifactServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/GetArtifactService.java, src/main/java/de/intevation/flys/client/server/GetArtifactServiceImpl.java: New. A service that queries the artifact description based on the identifier of an artifact. * src/main/webapp/WEB-INF/web.xml: Registered the new GetArtifactService. 2011-04-11 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added strings that are used in the context menu of the project list. * src/main/java/de/intevation/flys/client/client/ui/ProjectList.java: A right mouse click on a project opens a context menu with the options to open / delete a project. 2011-04-11 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/DistanceInfoServiceImpl.java, src/main/java/de/intevation/flys/client/client/services/DistanceInfoServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/DistanceInfoService.java: New. This service fetches river specific distance information from server. * src/main/webapp/WEB-INF/web.xml: Registered the DistanceInfoService. 2011-04-11 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/DistanceInfoObjectImpl.java, src/main/java/de/intevation/flys/client/shared/model/DistanceInfoObject.java: New. This model will be used by the LocationDistancePanel to bring up a table with distances which supports the user while entering the start and end point of the WINFO paramterization. A DistanceInfoObject contains information about a specific distance (description, from, to and riverside). 2011-04-08 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/UserServiceImpl.java, src/main/java/de/intevation/flys/client/client/services/UserService.java: This service now throws an AuthenticationException if an error occured while user authentication. * src/main/java/de/intevation/flys/client/server/RiverServiceImpl.java, src/main/java/de/intevation/flys/client/client/services/RiverService.java: This service now throws a ServerException if an error occured while reading the supported rivers from artifact server. * src/main/java/de/intevation/flys/client/client/FLYS.java: Show warnings if errors occur while fetching supported rivers or * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added further strings for error messages. 2011-04-08 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/exceptions/AuthenticationException.java: New. An exception that should be used if the user authentication fails. 2011-04-08 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/DescribeCollectionServiceImpl.java, src/main/java/de/intevation/flys/client/server/ArtifactServiceImpl.java, src/main/java/de/intevation/flys/client/server/CreateCollectionServiceImpl.java, src/main/java/de/intevation/flys/client/server/StepForwardServiceImpl.java, src/main/java/de/intevation/flys/client/server/AdvanceServiceImpl.java, src/main/java/de/intevation/flys/client/server/AddArtifactServiceImpl.java, src/main/java/de/intevation/flys/client/client/services/CreateCollectionService.java, src/main/java/de/intevation/flys/client/client/services/DescribeCollectionService.java, src/main/java/de/intevation/flys/client/client/services/ArtifactService.java, src/main/java/de/intevation/flys/client/client/services/StepForwardService.java, src/main/java/de/intevation/flys/client/client/services/AdvanceService.java, src/main/java/de/intevation/flys/client/client/services/AddArtifactService.java: Improved the exception handling. If an exception occurs specific to an artifact / collection specific operation, a ServerException is thrown. The message of this exception is a key that needs to be translated using the lookup mechanism of FLYSConstants. * src/main/java/de/intevation/flys/client/client/ui/ParameterList.java, src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: The dialog helper class SC of the SmartGWT framework is used to bring up warning dialogs that inform the user about errors that occured after the artifact / collection specific operations. * src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added strings for the exceptions thrown in the services. 2011-04-08 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/exceptions/ServerException.java: New. This exception is used to be thrown after an error occured while one of the artifact / collection operations. 2011-04-07 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/ChartOutputServiceImpl.java, src/main/java/de/intevation/flys/client/client/ui/ChartOutputTab.java: Adjusted the code to trigger the out() operation of the Collection instead of the out() operation of the first Artifact in that Collection. 2011-04-07 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: Added new strings for a warning dialog that is opened when the user start changing the current language. * src/main/java/de/intevation/flys/client/client/ui/MainMenu.java: Fixed the function to toggle the language and added a warning dialog that informs the user about the creation of a new session when the language is changed. 2011-04-05 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, src/main/java/de/intevation/flys/client/client/FLYSConstants.java: New. A constants interface with the ability to lookup an i18n string with a given key. * src/main/java/de/intevation/flys/client/client/ui/CollectionGrid.java, src/main/java/de/intevation/flys/client/client/ui/ProjectList.java, src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java, src/main/java/de/intevation/flys/client/client/ui/DoubleRangePanel.java, src/main/java/de/intevation/flys/client/client/ui/MainMenu.java, src/main/java/de/intevation/flys/client/client/ui/AbstractUIProvider.java, src/main/java/de/intevation/flys/client/client/ui/ParameterList.java, src/main/java/de/intevation/flys/client/client/ui/CollectionView.java, src/main/java/de/intevation/flys/client/client/ui/FLYSHeader.java, src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java, src/main/java/de/intevation/flys/client/client/ui/DoubleArrayPanel.java, src/main/java/de/intevation/flys/client/client/ui/SelectProvider.java, src/main/java/de/intevation/flys/client/client/ui/ModuleSelection.java, src/main/java/de/intevation/flys/client/client/ui/FLYSFooter.java: Replaced the FLYSMessages interface with the FLYSConstants interface. * 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: Removed. 2011-04-05 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/MainMenu.java: Implemented the toggle button to switch the current locale. 2011-04-05 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSMessages_en.properties: Added missing strings used in the footer. 2011-03-30 Ingo Weinzierl <ingo@intevation.de> Tagged RELEASE 0.1 2011-03-30 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ParameterList.java: Removed some comments that have been commited by mistaken. 2011-03-30 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSMessages.java: Derives the ConstantsWithLookup interface now. This makes it possible to fetch i18n string using a getString(String key) lookup method. * src/main/java/de/intevation/flys/client/client/FLYSMessages_en.properties, src/main/java/de/intevation/flys/client/client/FLYSMessages_de.properties: Removed '@DefaultMessage' annotations - they are not available for ConstantsWithLookup, added a further i18n string and fixed another one. * src/main/java/de/intevation/flys/client/client/ui/MainMenu.java, src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Some modifications related to the changes above. * src/main/java/de/intevation/flys/client/client/ui/ParameterList.java: Removed the hard coded title determination based on the selected module. Now, the getString() of FLYSMessages is used to determine the human readable string. 2011-03-30 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/DescribeCollectionServiceImpl.java, src/main/java/de/intevation/flys/client/server/AddArtifactServiceImpl.java, src/main/java/de/intevation/flys/client/client/services/DescribeCollectionService.java, src/main/java/de/intevation/flys/client/client/FLYS.java, src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java, src/main/java/de/intevation/flys/client/client/ui/ChartOutputTab.java, src/main/java/de/intevation/flys/client/client/ui/CollectionView.java, src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java, src/main/java/de/intevation/flys/client/client/ui/SelectProvider.java, src/main/java/de/intevation/flys/client/client/ui/FLYSFooter.java: Removed useless imports. 2011-03-29 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYS.java: The CollectionView no longer gets an empty collection when it is created. * src/main/java/de/intevation/flys/client/client/ui/FLYSWorkspace.java: The CollectionViews are no longer stored in a Map but in a List. * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Bugfix: We just create a new collection a single time - if no one is existing. If the output modes of the artifact that is used for the parameterization changes, we fetch the new DESCRIBE document of the collection using the new DescribeCollectionService. 2011-03-29 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/DescribeCollectionServiceImpl.java, src/main/java/de/intevation/flys/client/client/services/DescribeCollectionServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/DescribeCollectionService.java: New. This service is used to fetch the DESCRIBE document of a specific collection and returns a Collection object that contains the information of that document. The code to parse the DESCRIBE has been moved here from the AddArtifactServiceImpl which now derives the DescribeCollectionServiceImpl. * src/main/java/de/intevation/flys/client/server/AddArtifactServiceImpl.java: This service is derived from DescribeCollectionServiceImpl now, because the methods to parse the DESCRIBE document are moved to that service. * src/main/webapp/WEB-INF/web.xml: Registered the DescribeCollectionService. 2011-03-29 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSMessages_de.properties: Replaced the german title of the project list 'Berechnungen' with 'Projekte'. 2011-03-29 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYS.java: Registered the ProjectList as CollectionChangeHandler of each created CollectionView. * src/main/java/de/intevation/flys/client/client/ui/ProjectList.java: Implements the CollectionChangeHandler to update the list of user collections after a collection changed (or has been created). * src/main/java/de/intevation/flys/client/client/ui/CollectionGrid.java, src/main/java/de/intevation/flys/client/shared/model/CollectionRecord.java: Modified the output of the 'name' and 'date' fields. * 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 format for datetime strings. 2011-03-29 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/UserCollectionsServiceImpl.java, src/main/java/de/intevation/flys/client/client/services/UserCollectionsServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/UserCollectionsService.java: New. This service returns a list of Collections owned by a specified user. * src/main/webapp/WEB-INF/web.xml: Registered the UserCollectionsService. 2011-03-29 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 methods to retrieve the creation time. 2011-03-29 Raimund Renkert <rrenkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/MainMenu.java: Fixed code in ProjectList toggle method. * src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: Fixed the WQInputPanel label to have the correct size. 2011-03-29 Raimund Renkert <rrenkert@intevation.de> * src/main/webapp/FLYS.html: Added style information to avoid the smartgwt theme margin. 2011-03-29 Raimund Renkert <rrenkert@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSMessages_de.properties: Changed some german strings. * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Changed tab title. 2011-03-29 Raimund Renkert <rrenkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java, src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java, src/main/java/de/intevation/flys/client/client/ui/SelectProvider.java: Set label width to have a tabled style for WINFO selections. * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Resized window to fit the content size. 2011-03-29 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ParameterList.java: The ParameterList is a Tab now and can set its title itself. So, the title will change after the module is chosen. * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Removed code to insert the ParameterList into a new Tab. This is no longer needed, because the ParameterList is a Tab itself. 2011-03-29 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: Modified the string that points to the 'back button' image. * src/main/java/de/intevation/flys/client/client/ui/AbstractUIProvider.java: Modified the URL that points to the 'back button' image. Now, the base URL is taken into account as well. The button will be shown everywhere now (in every installation)! 2011-03-29 Raimund Renkert <rrenkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java, src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java, src/main/java/de/intevation/flys/client/client/ui/SelectProvider.java: Set label width to have a tabled style for WINFO selections. * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Resized window to fit the content size. 2011-03-29 Raimund Renkert <rrenkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/MainMenu.java: Fixed toggle method. 2011-03-28 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/CollectionItem.java, src/main/java/de/intevation/flys/client/shared/model/DefaultCollectionItem.java: A CollectionItem has a hash() method now. The value comes from the Collection's DESCRIBE document. * src/main/java/de/intevation/flys/client/server/AddArtifactServiceImpl.java: The hash value of a collection item is parsed from DESCRIBE document. * src/main/java/de/intevation/flys/client/client/ui/ChartOutputTab.java: Appended the hash value of the artifact to the URL of the chart image. This bypasses the browser cache of a previous chart image. * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: A parameterization change will always remove all output tabs before updating the output tab panel. 2011-03-28 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: Modified existing string and added a new one. * src/main/java/de/intevation/flys/client/client/ui/ModuleSelection.java: Added a further radio button for a plugin and changed the alignment of the radio button to vertical. 2011-03-28 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ChartOutputTab.java: Removed the "TODO: ThemeEditor" label. 2011-03-28 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Removed the date string from title bar. 2011-03-28 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/AbstractUIProvider.java: A UIProvider might now have a panel that can be used to render helper widgets. E.g. the river selection will render its river map into this panel. It is injected and can be placed somewhere around the application. * src/main/java/de/intevation/flys/client/client/ui/ParameterList.java: Injected the right panel of the parameter panel into the UIProvider. Helper widgets are rendered into this panel now! * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java, src/main/java/de/intevation/flys/client/client/ui/MapSelection.java, src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java, src/main/java/de/intevation/flys/client/client/ui/SelectProvider.java, src/main/java/de/intevation/flys/client/client/ui/ModuleSelection.java: Some layout improvements (heights, position of elements and so far). 2011-03-28 Raimund Renkert <rrenkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/MainMenu.java: The project list button toggles the project list now. 2011-03-28 Raimund Renkert <rrenkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/AbstractUIProvider.java: Replaced next button image with smartgwt button. * src/main/java/de/intevation/flys/client/client/FLYSMessages.java: Removed button path, added text for new button. * src/main/java/de/intevation/flys/client/client/FLYSMessages_en.properties: Removed image path, added english text for button. * src/main/java/de/intevation/flys/client/client/FLYSMessages_de.properties: Removed image path, added german text for button. 2011-03-28 Raimund Renkert <rrenkert@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSMessages.java: Added text for FLYSFooter. * src/main/java/de/intevation/flys/client/client/FLYSMessages_de.properties: Added german text for footer label. * src/main/java/de/intevation/flys/client/client/ui/FLYSFooter.java: New. A new ui element at the bottom of the page. * src/main/java/de/intevation/flys/client/client/FLYS.java: Added footer element to FLYS webpage. 2011-03-28 Raimund Renkert <rrenkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ProjectList.java: Customized ProjectList style. * src/main/java/de/intevation/flys/client/client/ui/FLYSView.java: Set background color and size constraints. * src/main/webapp/FLYS.css: Added background style. 2011-03-28 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ChartOutputTab.java: The right side of this panel displays an image now. This image represents a chart that is generated by an artifact. The request is made up in the ChartOutputServiceImpl. * src/main/java/de/intevation/flys/client/server/ChartOutputServiceImpl.java: New. This service creates the request to retrieve chart images and writes the response to the output stream. NOTE: This service is not asynchron! It is derived directly from HttpServlet. * src/main/webapp/WEB-INF/web.xml: Registered the ChartOutputService. 2011-03-25 Raimund Renkert <rrenkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Limited the area for CollectionView to the size of FLYSWorkspace. 2011-03-28 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/OutputTab.java: Fixed a typo. 2011-03-28 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ChartOutputTab.java: An OutputTab with two panels. The left one is not implemented yet (ThemeEditor). The right one will display an image. * src/main/java/de/intevation/flys/client/client/ui/OutputTab.java: The content pane is set in the constructor. * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: New output tabs will use the ChartOutputTab. NOTE: We should move the code that constructs the concrete output tabs into a factory class that decides which OutputTab has to be used. 2011-03-28 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: The tab bar is extended with output tabs if the artifact used for the parameterization reaches a state with output modes. * src/main/java/de/intevation/flys/client/client/ui/OutputTab.java: A base class that might be used to derive concrete output tabs for charts, maps and so on. 2011-03-28 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java, src/main/java/de/intevation/flys/client/client/ui/ParameterList.java: Moved parameterization specific code from CollectionView to ParameterList. 2011-03-26 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java, src/main/java/de/intevation/flys/client/client/ui/ParameterList.java: Moved ParameterList specific code into the ParameterList. 2011-03-25 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: Changed the return type to 'Collection' - returned a UUID (String) before. * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: The artifact is put into the collection (or new collection) if we reach a step in the parameterization in that an artifact has reachable outputs. Furthermore, some adjustments related to the changes of the return type in the CreateCollectionService. 2011-03-25 Ingo Weinzierl <ingo@intevation.de> * src/main/webapp/WEB-INF/web.xml: Made the AddArtifactService accessible. 2011-03-25 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/services/AddArtifactServiceAsync.java, src/main/java/de/intevation/flys/client/client/services/AddArtifactService.java, src/main/java/de/intevation/flys/client/server/AddArtifactServiceImpl.java: New. This service adds an existing artifact to an existing collection. The return value of this service is a Collection that is filled with CollectionItems and OutputModes. 2011-03-25 Raimund Renkert <rrenkert@intevation.de> * src/main/java/de/intevation/flys/client/FLYS.gwt.xml: Changed theme to smartgwt Enterprise Blue. 2011-03-25 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/Facet.java, src/main/java/de/intevation/flys/client/shared/model/DefaultFacet.java: New. An interface and its default implementation that provide methods to get information about facets. Currently, the only information that is supported is the name of the facet. * src/main/java/de/intevation/flys/client/shared/model/CollectionItem.java, src/main/java/de/intevation/flys/client/shared/model/DefaultCollectionItem.java: New. An interface and its default implementation that provide methods to get information about the available output modes and its facets of artifacts -> a CollectionItem is related to an artifact - both have the same identifier. * src/main/java/de/intevation/flys/client/shared/model/DefaultCollection.java, src/main/java/de/intevation/flys/client/shared/model/Collection.java: The Collection no longer stores references to artifacts, but to CollectionItems. I have changed this, because the artifact contains a lot more information we need for the Collections. So, I decided to create CollectionItems that are related to artiacts but just know about the possible outputmodes and facets. 2011-03-24 Raimund Renkert <rrenkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/MainMenu.java: Set styles for label. * src/main/java/de/intevation/flys/client/client/ui/FLYSHeader.java: Fixed the method to calculate the image width and resized the BfG logo. * src/main/webapp/FLYS.css: Introduced styles for fonts and BfG colorscheme. 2011-03-23 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/ArtifactDescriptionFactory.java: Extract the output modes from DESCRIBE document and fill the ArtifactDescription with those objects. 2011-03-23 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/ArtifactDescription.java: Added a method to retrieve the available output modes of the artifact. * src/main/java/de/intevation/flys/client/shared/model/DefaultArtifactDescription.java: Implemented the method to retrieve the available output modes and enhanced the default constructor with a parameter for output modes. 2011-03-23 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/OutputMode.java, src/main/java/de/intevation/flys/client/shared/model/DefaultOutputMode.java: New. An interface and its default implementation that describes available output modes of artifacts. 2011-03-21 Ingo Weinzierl <ingo@intevation.de> * src/main/webapp/images/next.xcf: Moved to images/next.xcf to avoid that this file is included in the WAR archive of the web application. * images/next.xcf: Moved from src/main/webapp/images/next.xcf. 2011-03-21 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/ArtifactDescriptionFactory.java: Parse the selected values as human readable strings from the static UI part. * src/main/java/de/intevation/flys/client/client/ui/SelectProvider.java: Display human readable values in the static UI part. 2011-03-21 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/event/HasStepBackHandlers.java, src/main/java/de/intevation/flys/client/client/event/StepBackHandler.java, src/main/java/de/intevation/flys/client/client/event/StepBackEvent.java: New. These classes are used to realize a notification mechanism to listen to the step-back part of the advance() operation. UI elements should fire a StepBackEvent if the user tries to step back to a previous state. * src/main/java/de/intevation/flys/client/client/ui/AbstractUIProvider.java: The UIProvider implements the HasStepBackHandlers interface and fires StepBackEvents if the 'back' button has been clicked. * src/main/java/de/intevation/flys/client/client/ui/ParameterList.java: Listens to StepBackEvents. If such an event is received, we gonna remove all old state items from the list and revert the view. Afterwards, the artifact description is used to redraw the whole view. NOTE: I think we should just remove those items that belong to states between the current state and the target state. This would avoid a complete refresh of the ParameterPanel. * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Listens to StepBackEvents. If such an event is received, the advance() operation is triggerd with the current artifact and the new target state identifier to step back to that state. 2011-03-18 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/DoubleRangePanel.java, src/main/java/de/intevation/flys/client/client/ui/DoubleArrayPanel.java: The methods that validates a FormItem will skip StaticTextItem validation. * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java, src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: Added a mechanism to validate and save user input before returning the data entered in the fields. Reason: the BlurEvent - after that we gonne validate and save the input stuff - is not fired when the focus is still in one of the text fields and we click the 'next' button immediately. A nullpointer exception would be the result (which is avoided with the mechanism). 2011-03-18 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 localized strings that point to the source of the 'back' button. * src/main/java/de/intevation/flys/client/client/ui/AbstractUIProvider.java: Added a new method that creates the 'back' button and returns it. TODO: Fire an event that triggers the ADVANCE action. * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java, src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java, src/main/java/de/intevation/flys/client/client/ui/SelectProvider.java: Append the 'back' button in the panel with the 'old' parameters. * src/main/webapp/images/back.png, src/main/webapp/images/back_en.png, src/main/webapp/images/back_de.png: New. Images für the 'back' button in the parameterization. 2011-03-18 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 localized strings that point to the images of the 'next' button. * src/main/java/de/intevation/flys/client/client/ui/AbstractUIProvider.java: There is a method that creates the 'next' button, adds the UIProvider as ClickHandler and returns the button. * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java, src/main/java/de/intevation/flys/client/client/ui/ParameterList.java, src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java, src/main/java/de/intevation/flys/client/client/ui/SelectProvider.java, src/main/java/de/intevation/flys/client/client/ui/ModuleSelection.java: The 'next' button is created in the AbstractUIProvider. So, we have a central place to adjust the look of this button. * src/main/webapp/images/next.xcf, src/main/webapp/images/next.png, src/main/webapp/images/next_en.png, src/main/webapp/images/next_de.png: Images for the 'next' button in the parameterization. 2011-03-18 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: Read min/max values and define those values as default values for the distance modes. 2011-03-18 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java: Read min/max values and define those values as default values for the distance mode. 2011-03-18 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ParameterList.java, src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: When a state is reached with no further user input, the 'current' property of the ParameterList is set to 'null' and no dynamic panel is shown. 2011-03-17 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSMessages_de.properties: Fixed a typo. * src/main/java/de/intevation/flys/client/client/ui/ParameterList.java: The widgets displayed in the static panel are created using the UIProvider defined in the DataList. * src/main/java/de/intevation/flys/client/client/ui/UIProvider.java: There is a new method createOld() that is used to create the static representation of a DataList. * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java, src/main/java/de/intevation/flys/client/client/ui/MapSelection.java, src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java, src/main/java/de/intevation/flys/client/client/ui/SelectProvider.java: Implemented the createOld() method. 2011-03-17 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/DataList.java: Added a constructor to create a DataList with a label. * src/main/java/de/intevation/flys/client/server/ArtifactDescriptionFactory.java: Read the label of the static state data objects and create the DataList objects with this attribute. 2011-03-17 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/shared/model/DataList.java: This data structure manages a list of Data objects. A DataList is the list of Data objects that a single State can have. So, this class has methods to retrieve the name of the state it belongs to, the list of Data objects, the recommended UIProvider and a label. * src/main/java/de/intevation/flys/client/server/ArtifactDescriptionFactory.java, src/main/java/de/intevation/flys/client/shared/model/ArtifactDescription.java, src/main/java/de/intevation/flys/client/shared/model/DefaultArtifactDescription.java, src/main/java/de/intevation/flys/client/shared/model/Data.java, src/main/java/de/intevation/flys/client/shared/model/DefaultData.java, src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java, src/main/java/de/intevation/flys/client/client/ui/AbstractUIProvider.java, src/main/java/de/intevation/flys/client/client/ui/ParameterList.java, src/main/java/de/intevation/flys/client/client/ui/MapSelection.java, src/main/java/de/intevation/flys/client/client/ui/CollectionView.java, src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java, src/main/java/de/intevation/flys/client/client/ui/UIProvider.java, src/main/java/de/intevation/flys/client/client/ui/SelectProvider.java, src/main/java/de/intevation/flys/client/client/ui/ModuleSelection.java: Necessary refactoring to introduce the DataList data structure to manage the list of Data objects a single State provides. 2011-03-17 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ParameterList.java: Added a bit more space between the values that have been entered in former states and the current input panel. 2011-03-17 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/server/UserServiceImpl.java, src/main/java/de/intevation/flys/client/shared/model/Data.java, src/main/java/de/intevation/flys/client/shared/model/DefaultData.java, src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java, src/main/java/de/intevation/flys/client/client/ui/MapSelection.java, src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: Removed needless imported. * src/main/java/de/intevation/flys/client/client/ui/SelectProvider.java: The SelectProvider extends the AbstractUIProvider now. Now, each concrete UIProvider is an instance of the AbstractUIProvider that handles some basic events. 2011-03-17 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: The Single-W panel is displayed initially when the WQInputPanel is rendered. 2011-03-17 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: Implemented some methods to retrieve the data that have been entered by the user. The getData() method retrieves data now! 2011-03-17 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java: Implemented some methods to retrieve the data that have been entered by the user. The getData() method retrieves data now! 2011-03-17 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ModuleSelection.java: Defined the 'WINFO' plugin as default plugin. The initial view will display a preselcted winfo radio button. * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java: Added the missing 'next' button. * src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: Added the ClickHandler to the 'next' button. 2011-03-17 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java: The 'uiprovider' attribute 'wq_panel' will return a WQInputPanel provider. 2011-03-16 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java: Some refactoring. This class now uses the DoubleRangePanel and DoubleArrayPanel for the two different input modes as well. 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.