01: /*--------------------------------------------------------------------------*
02: | Copyright (C) 2006 Christopher Kohlhaas |
03: | |
04: | This program is free software; you can redistribute it and/or modify |
05: | it under the terms of the GNU General Public License as published by the |
06: | Free Software Foundation. A copy of the license has been included with |
07: | these distribution in the COPYING file, if not go to www.fsf.org |
08: | |
09: | As a special exception, you are granted the permissions to link this |
10: | program with every library, which license fulfills the Open Source |
11: | Definition as published by the Open Source Initiative (OSI). |
12: *--------------------------------------------------------------------------*/
13: package org.rapla.gui;
14:
15: import java.awt.Component;
16:
17: import org.rapla.entities.dynamictype.DynamicType;
18: import org.rapla.framework.RaplaException;
19:
20: public interface ReservationWizard {
21: /** Show a new wizard dialog.
22: @param owner the owner-component for the wizard dialog
23: @param model a reference to the current CalendarModel. Here you can get information about the currently selected objects and times
24: @param type the default reservation-type. Can be null.
25: */
26:
27: void start(Component owner, CalendarModel model, DynamicType type)
28: throws RaplaException;
29:
30: /** Wizards should override this method to return a meaningful name that will be displayed in the wizard list*/
31: String toString();
32: }
|