Statistics
| Revision:

root / import / ext3D / trunk / install-extension3d / IzPack / src / lib / com / izforge / izpack / util / ExtendedUIProgressHandler.java @ 15280

History | View | Annotate | Download (1.94 KB)

1 15280 rgaitan
/*
2
 *  $Id: ExtendedUIProgressHandler.java,v 1.1 2006/06/14 07:29:07 cesar Exp $
3
 *  IzPack
4
 *  Copyright (C) 2004 Klaus Bartz
5
 *
6
 *  File :               ExtendedUIProgressHandler.java
7
 *  Description :        Interface for extended UI progress handler.
8
 *  Author's email :     klaus.bartz@coi.de
9
 *
10
 *  This program is free software; you can redistribute it and/or
11
 *  modify it under the terms of the GNU General Public License
12
 *  as published by the Free Software Foundation; either version 2
13
 *  of the License, or any later version.
14
 *
15
 *  This program is distributed in the hope that it will be useful,
16
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
17
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
 *  GNU General Public License for more details.
19
 *
20
 *  You should have received a copy of the GNU General Public License
21
 *  along with this program; if not, write to the Free Software
22
 *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
23
 */
24
package com.izforge.izpack.util;
25
26
/**
27
 * This interface allowes an extended interaction with a user interface handler.
28
 *
29
 * @author  Dr. Klaus Bartz (COI-ES)
30
 * @version @(#) $Revision: 1.1 $ $Date: 2006/06/14 07:29:07 $
31
 *
32
 */
33
public interface ExtendedUIProgressHandler
34
{
35
  static final int BEFORE = 0;
36
  static final int AFTER  = 1;
37
  /**
38
   * The action restarts.
39
   *
40
   * @param name The name of the action.
41
   * @param overallMsg message to be used in the overall label.
42
   * @param tipMsg message to be used in the tip label.
43
   * @param no_of_steps The number of steps the action consists of.
44
   */
45
  void restartAction (String name, String overallMsg, String tipMsg, int no_of_steps);
46
47
48
  /**
49
   * Notify of progress with automatic counting.
50
   *
51
   * @param stepMessage an additional message describing the substep
52
   * the type of the substep
53
   */
54
  public void progress ( String stepMessage);
55
56
57
}