Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/client/ui/CollectionView.java @ 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 |
parents | c9549074ecd1 |
children | a680ccec5dd6 |
line wrap: on
line diff
--- 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(); }