# HG changeset patch # User Felix Wolfsteller # Date 1315464977 0 # Node ID c0e13cf826d764b4f18a3b3486e9d6ba615b2289 # Parent 9bb8b7a751ec942f8320e9481807bc8f1fb23021 Cosmetics, doc. flys-client/trunk@2671 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 9bb8b7a751ec -r c0e13cf826d7 flys-client/ChangeLog --- 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 + + 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 Added a filter for the "description" row of helper input tables. diff -r 9bb8b7a751ec -r c0e13cf826d7 flys-client/src/main/java/de/intevation/flys/client/client/FLYS.java --- 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 openProjects; diff -r 9bb8b7a751ec -r c0e13cf826d7 flys-client/src/main/java/de/intevation/flys/client/client/ui/CollectionView.java --- 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 handlers; - /** The list of ValueChangeHandlers.*/ + /** The list of OutputModesChangeHandlers. */ protected List 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 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 onValueChange() method of all * registered ValueChangeHanders. @@ -314,6 +312,7 @@ return artifact; } + public User getUser() { return getFlys().getCurrentUser(); } diff -r 9bb8b7a751ec -r c0e13cf826d7 flys-client/src/main/java/de/intevation/flys/client/client/ui/DatacageWindow.java --- 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(); diff -r 9bb8b7a751ec -r c0e13cf826d7 flys-client/src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java --- 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);