Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java @ 1430:6bb6d43eeb2d
Cosmetics.
flys-client/trunk@3383 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Mon, 12 Dec 2011 07:23:24 +0000 |
parents | bc06a671ef60 |
children | ec0460dbbae2 |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java Fri Dec 09 14:45:53 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java Mon Dec 12 07:23:24 2011 +0000 @@ -43,7 +43,12 @@ import de.intevation.flys.client.client.services.CollectionItemAttributeService; import de.intevation.flys.client.client.services.CollectionItemAttributeServiceAsync; - +/** + * ThemePanel on the left in CollectionView. + * Contains control widgets for "themes", which are plotted in a diagram (chart). + * + * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> + */ public abstract class ThemePanel extends Canvas implements OnMoveHandler, @@ -243,11 +248,13 @@ } + /** Adds given Record to the list (table). */ protected void addFacetRecord(FacetRecord rec) { list.addData(rec); } + /** Create a FacetRecord that wraps given theme. */ protected FacetRecord createRecord(Theme theme) { return new FacetRecord(theme); } @@ -265,7 +272,7 @@ GWT.log("ThemePanel.updateCollection via RPC now"); - // don't forget to enable the panel after the request has finished! + // Don't forget to enable the panel after the request has finished! disable(); updater.update(collection, loc, new AsyncCallback<Collection>() {