01: /*
02: * $Id: org.eclipse.jdt.ui.prefs 5004 2006-03-17 20:47:08 -0800 (Fri, 17 Mar
03: * 2006) eelco12 $ $Revision: 5004 $ $Date: 2006-03-17 20:47:08 -0800 (Fri, 17
04: * Mar 2006) $
05: *
06: * ==============================================================================
07: * Licensed under the Apache License, Version 2.0 (the "License"); you may not
08: * use this file except in compliance with the License. You may obtain a copy of
09: * the License at
10: *
11: * http://www.apache.org/licenses/LICENSE-2.0
12: *
13: * Unless required by applicable law or agreed to in writing, software
14: * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
15: * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
16: * License for the specific language governing permissions and limitations under
17: * the License.
18: */
19: package wicket.extensions.wizard;
20:
21: import java.io.Serializable;
22:
23: /**
24: * Recieves notifications for wizard model state changes.
25: *
26: * @author Eelco Hillenius
27: */
28: public interface IWizardModelListener extends Serializable {
29: /**
30: * Called when the active step of this model changed.
31: *
32: * @param newStep
33: * The new step
34: */
35: void onActiveStepChanged(IWizardStep newStep);
36:
37: /**
38: * Called when the wizard was cancelled.
39: */
40: void onCancel();
41:
42: /**
43: * Called when the wizard finished succesfully.
44: */
45: void onFinish();
46: }
|