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: * Interface for the wizard component. This interface is here for ultimate
25: * flexibility, though it doesn't guarantee much. Typically, you would extend
26: * from {@link Wizard the default wizard component} instead of implementing this
27: * interface directly.
28: *
29: * <p>
30: * Part of the contract of wizards is that {@link IWizardStep wizard steps} are
31: * initialized when the wizard receives the {@link IWizardModel wizard model}.
32: * </p>
33: *
34: * @author Eelco Hillenius
35: */
36: public interface IWizard extends Serializable {
37: /**
38: * Gets the model this wizard is using. This should never be null; a wizard
39: * is supposed to have a model.
40: *
41: * @return The wizard model.
42: */
43: IWizardModel getWizardModel();
44: }
|