Mercurial > dive4elements > river
changeset 864:c0e13cf826d7
Cosmetics, doc.
flys-client/trunk@2671 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 08 Sep 2011 06:56:17 +0000 (2011-09-08) |
parents | 9bb8b7a751ec |
children | 43f520f923a8 |
files | flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/FLYS.java flys-client/src/main/java/de/intevation/flys/client/client/ui/CollectionView.java flys-client/src/main/java/de/intevation/flys/client/client/ui/DatacageWindow.java flys-client/src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java |
diffstat | 5 files changed, 31 insertions(+), 21 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-client/ChangeLog Wed Sep 07 17:22:21 2011 +0000 +++ b/flys-client/ChangeLog Thu Sep 08 06:56:17 2011 +0000 @@ -1,3 +1,14 @@ +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.
--- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYS.java Wed Sep 07 17:22:21 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYS.java Thu Sep 08 06:56:17 2011 +0000 @@ -74,28 +74,28 @@ GWT.create(GetArtifactService.class); - /** The menu bar at the top of the application.*/ + /** The menu bar at the top of the application. */ protected MainMenu menu; /** The content window. It takes the whole space beneath the menu bar.*/ protected FLYSView view; - /** The project list that displays the projects of the user.*/ + /** The project list that displays the projects of the user. */ protected ProjectList projectList; - /** The FLYSWorkspace.*/ + /** The FLYSWorkspace. */ protected FLYSWorkspace workspace; /** The footer. */ protected FLYSFooter footer; - /** The user who is currently logged in.*/ + /** The user who is currently logged in. */ protected User currentUser; - /** The list of rivers supported by the server.*/ + /** The list of rivers supported by the server. */ protected River[] rivers; - /** This list is used to track the opened projects.*/ + /** This list is used to track the opened projects. */ protected List<String> openProjects;
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/CollectionView.java Wed Sep 07 17:22:21 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/CollectionView.java Thu Sep 08 06:56:17 2011 +0000 @@ -78,33 +78,33 @@ protected CollectionAttributeServiceAsync updater = GWT.create(CollectionAttributeService.class); - /** The message class that provides i18n strings.*/ + /** The message class that provides i18n strings. */ protected FLYSConstants messages = GWT.create(FLYSConstants.class); - /** The FLYS instance used to call services.*/ + /** The FLYS instance used to call services. */ protected FLYS flys; - /** The ParameterList.*/ + /** The ParameterList. */ protected ParameterList parameterList; - /** The list of ValueChangeHandlers.*/ + /** The list of CollectionChangeHandlers. */ protected List<CollectionChangeHandler> handlers; - /** The list of ValueChangeHandlers.*/ + /** The list of OutputModesChangeHandlers. */ protected List<OutputModesChangeHandler> outHandlers; - /** The collection to be displayed.*/ + /** The collection to be displayed. */ protected Collection collection; - /** The artifact that handles the parameterization.*/ + /** The artifact that handles the parameterization. */ protected Artifact artifact; protected TabSet tabs; - /** The output tab.*/ + /** The output tab. */ protected Map<String, OutputTab> outputTabs; - /** The layout.*/ + /** The layout. */ protected Layout layout; protected int artifactsQueue; @@ -244,11 +244,10 @@ } - /** - * This method registers a new ValueChangeHandler. + * This method registers a new CollectionChangeHandler. * - * @param handler The new ValueChangeHandler. + * @param handler The new CollectionChangeHandler. */ public void addCollectionChangeHandler(CollectionChangeHandler handler) { if (handler != null) { @@ -269,7 +268,6 @@ } - /** * This method calls the <code>onValueChange()</code> method of all * registered ValueChangeHanders. @@ -314,6 +312,7 @@ return artifact; } + public User getUser() { return getFlys().getCurrentUser(); }
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/DatacageWindow.java Wed Sep 07 17:22:21 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/DatacageWindow.java Thu Sep 08 06:56:17 2011 +0000 @@ -55,6 +55,7 @@ centerInPage(); } + @Override public void toLoad(ToLoad toLoad) { destroy(); @@ -63,8 +64,8 @@ recs.toArray(new Recommendation[recs.size()])); } + protected String findRiver(Artifact artifact) { - ArtifactDescription adescr = artifact.getArtifactDescription(); DataList [] data = adescr.getOldData();
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java Wed Sep 07 17:22:21 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java Thu Sep 08 06:56:17 2011 +0000 @@ -60,7 +60,6 @@ /** The interface that provides the image resources. */ private FLYSImages IMAGES = GWT.create(FLYSImages.class); - /** The DistanceInfoService used to retrieve locations about rivers.*/ protected WQInfoServiceAsync wqInfoService = GWT.create(WQInfoService.class);