Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/event/StepBackEvent.java @ 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 | |
children | 360e22afb98b |
comparison
equal
deleted
inserted
replaced
59:a3d235c63195 | 60:f793d35bfb08 |
---|---|
1 package de.intevation.flys.client.client.event; | |
2 | |
3 import java.io.Serializable; | |
4 | |
5 | |
6 /** | |
7 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | |
8 */ | |
9 public class StepBackEvent implements Serializable { | |
10 | |
11 /** The identifier of the target state.*/ | |
12 protected String target; | |
13 | |
14 | |
15 /** | |
16 * Creates a new StepBackEvent with the identifier of the target state. | |
17 * | |
18 * @param target The identifier of the target state. | |
19 */ | |
20 public StepBackEvent(String target) { | |
21 this.target = target; | |
22 } | |
23 | |
24 | |
25 /** | |
26 * A method to retrieve the target identifier. | |
27 * | |
28 * @return the target identifier. | |
29 */ | |
30 public String getTarget() { | |
31 return target; | |
32 } | |
33 } | |
34 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |