comparison flys-client/ChangeLog @ 60:f793d35bfb08

Implemented a mechanism to step back to previous states. flys-client/trunk@1523 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 21 Mar 2011 08:28:02 +0000
parents a3d235c63195
children f983d5ce6402
comparison
equal deleted inserted replaced
59:a3d235c63195 60:f793d35bfb08
1 2011-03-21 Ingo Weinzierl <ingo@intevation.de>
2
3 * src/main/java/de/intevation/flys/client/client/event/HasStepBackHandlers.java,
4 src/main/java/de/intevation/flys/client/client/event/StepBackHandler.java,
5 src/main/java/de/intevation/flys/client/client/event/StepBackEvent.java:
6 New. These classes are used to realize a notification mechanism to
7 listen to the step-back part of the advance() operation. UI elements
8 should fire a StepBackEvent if the user tries to step back to a previous
9 state.
10
11 * src/main/java/de/intevation/flys/client/client/ui/AbstractUIProvider.java:
12 The UIProvider implements the HasStepBackHandlers interface and fires
13 StepBackEvents if the 'back' button has been clicked.
14
15 * src/main/java/de/intevation/flys/client/client/ui/ParameterList.java:
16 Listens to StepBackEvents. If such an event is received, we gonna remove
17 all old state items from the list and revert the view. Afterwards, the
18 artifact description is used to redraw the whole view.
19
20 NOTE: I think we should just remove those items that belong to states
21 between the current state and the target state. This would avoid a
22 complete refresh of the ParameterPanel.
23
24 * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java:
25 Listens to StepBackEvents. If such an event is received, the advance()
26 operation is triggerd with the current artifact and the new target
27 state identifier to step back to that state.
28
1 2011-03-18 Ingo Weinzierl <ingo@intevation.de> 29 2011-03-18 Ingo Weinzierl <ingo@intevation.de>
2 30
3 * src/main/java/de/intevation/flys/client/client/ui/DoubleRangePanel.java, 31 * src/main/java/de/intevation/flys/client/client/ui/DoubleRangePanel.java,
4 src/main/java/de/intevation/flys/client/client/ui/DoubleArrayPanel.java: 32 src/main/java/de/intevation/flys/client/client/ui/DoubleArrayPanel.java:
5 The methods that validates a FormItem will skip StaticTextItem 33 The methods that validates a FormItem will skip StaticTextItem

http://dive4elements.wald.intevation.org