g-Eclipse
Release 1.0.0

eu.geclipse.batch.ui.dialogs
Class ProgressDialog

java.lang.Object
  extended by Dialog
      extended by eu.geclipse.batch.ui.dialogs.ProgressDialog

public class ProgressDialog
extends Dialog

Progress bar dialog, which are separated into major tasks. Within each major task there are minor tasks. The driver progress the minor and major tasks.


Constructor Summary
ProgressDialog(Shell parent)
          Default constructor
 
Method Summary
 void close()
          Closes the progress-bar dialog
 void initInformation(int numMajorTasks, java.lang.String[] descriptions, java.lang.String dialogTitle)
           
 void moveNextMajorTask(int numMinTasks)
          Move the progress bar to the next major task
 void moveNextMinor()
          Move the progress bar one minor step within the major task
 void open()
          Opens the progress-bar dialog
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProgressDialog

public ProgressDialog(Shell parent)
Default constructor

Parameters:
parent - The parent shell
Method Detail

initInformation

public void initInformation(int numMajorTasks,
                            java.lang.String[] descriptions,
                            java.lang.String dialogTitle)
Parameters:
numMajorTasks - How many major task this task bar should represent
descriptions - Optional description of the major tasks
dialogTitle - The title of the dialog

moveNextMajorTask

public void moveNextMajorTask(int numMinTasks)
Move the progress bar to the next major task

Parameters:
numMinTasks - How many minor tasks are there in the next major task

moveNextMinor

public void moveNextMinor()
Move the progress bar one minor step within the major task


open

public void open()
Opens the progress-bar dialog


close

public void close()
Closes the progress-bar dialog


g-Eclipse
Release 1.0.0