Mercurial > dive4elements > river
diff flys-client/ChangeLog @ 911:4668357b255e
#259 Refresh charts after loading new Themes / Artifacts from Datacage.
flys-client/trunk@2768 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 15 Sep 2011 17:01:12 +0000 |
parents | 7f72239e56c8 |
children | 2c8f1112be37 |
line wrap: on
line diff
--- a/flys-client/ChangeLog Thu Sep 15 16:27:07 2011 +0000 +++ b/flys-client/ChangeLog Thu Sep 15 17:01:12 2011 +0000 @@ -1,3 +1,31 @@ +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)