Statistics
| Revision:

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

History | View | Annotate | Download (1.7 KB)

1
/*
2
 *  $Id: AbstractUIProcessHandler.java,v 1.1 2006/06/14 07:29:07 cesar Exp $
3
 *  IzPack
4
 *  Copyright (C) 2002 Olexij Tkatchenko
5
 *
6
 *  File :               FileExecutor.java
7
 *  Description :        File execution class.
8
 *  Author's email :     ot@parcs.de
9
 *  Website :            http://www.izforge.com
10
 *
11
 *  This program is free software; you can redistribute it and/or
12
 *  modify it under the terms of the GNU General Public License
13
 *  as published by the Free Software Foundation; either version 2
14
 *  of the License, or any later version.
15
 *
16
 *  This program is distributed in the hope that it will be useful,
17
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
18
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19
 *  GNU General Public License for more details.
20
 *
21
 *  You should have received a copy of the GNU General Public License
22
 *  along with this program; if not, write to the Free Software
23
 *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
24
 */
25
package com.izforge.izpack.util;
26

    
27
/**
28
 * Interface for UIs which need to interface to external processes.
29
 * 
30
 * @author tisc
31
 */
32
public interface AbstractUIProcessHandler extends AbstractUIHandler
33
{
34
  /**
35
   * Log the given message.
36
   * 
37
   * @param message
38
   * @param stderr true if this is a message received from a program via stderr
39
   */
40
  public void logOutput (String message, boolean stderr);
41
  
42
  public void startProcessing (int no_of_processes);
43
  
44
  /**
45
   * Notify the user that a process has started.
46
   * 
47
   * @param name
48
   */
49
  public void startProcess (String name);
50
  
51
  public void finishProcess ();
52
  
53
  public void finishProcessing ();
54
}