01: package fr.aliacom.common.ui.wizard;
02:
03: import java.beans.PropertyChangeListener;
04:
05: /**
06: * FIXME: This API is broken. Needs some love.
07: * Workflow management and "page switching" must be separated.
08: *
09: * @author tom
10: *
11: * (c) 2001, 2003 Thomas Cataldo
12: */
13: public interface IWizardModel {
14:
15: public boolean isLinear();
16:
17: public boolean isNextEnabled();
18:
19: public String next();
20:
21: public boolean isPreviousEnabled();
22:
23: public String previous();
24:
25: public boolean isFinishEnabled();
26:
27: public void addPropertyChangeListener(
28: PropertyChangeListener listener);
29:
30: public void removePropertyChangeListener(
31: PropertyChangeListener listener);
32: }
|