de.folt.models.applicationmodel.guimodel.support
Class ProgressDialog

java.lang.Object
  extended by de.folt.models.applicationmodel.guimodel.support.ProgressDialog

public class ProgressDialog
extends java.lang.Object


Field Summary
static short DOUBLE_BARS
           
static short NO_BARS
           
static short SINGLE_BAR
           
 
Constructor Summary
ProgressDialog(org.eclipse.swt.widgets.Shell currentShell, java.lang.String title, java.lang.String progressMessage, short style)
           
 
Method Summary
 void close()
           
 ProgressDialogSupport getPdSupport()
           
 java.lang.String getTitle()
          getTitle returns the title text of the title label
 org.eclipse.swt.widgets.Label getTitleLabel()
           
 void open()
           
 org.eclipse.swt.widgets.Shell returnShell()
           
 void setPdSupport(ProgressDialogSupport pdSupport)
           
 void setTitle(java.lang.String titleLabel)
          setTitle set the title text of the title label
 void setTitleLabel(org.eclipse.swt.widgets.Label titleLabel)
           
 void showFinish(java.lang.String finishMessage)
           
 void updateMain(int value)
           
 void updateMainMessage(java.lang.String message)
           
 void updateProgress(int value)
           
 void updateProgress(int value, java.lang.String message)
           
 void updateProgressMessage(java.lang.String message)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DOUBLE_BARS

public static short DOUBLE_BARS

NO_BARS

public static short NO_BARS

SINGLE_BAR

public static short SINGLE_BAR
Constructor Detail

ProgressDialog

public ProgressDialog(org.eclipse.swt.widgets.Shell currentShell,
                      java.lang.String title,
                      java.lang.String progressMessage,
                      short style)
Method Detail

close

public void close()

getPdSupport

public ProgressDialogSupport getPdSupport()
Returns:
the pdSupport

getTitle

public java.lang.String getTitle()
getTitle returns the title text of the title label

Returns:
the title text

getTitleLabel

public org.eclipse.swt.widgets.Label getTitleLabel()
Returns:
the titleLabel

open

public void open()

returnShell

public org.eclipse.swt.widgets.Shell returnShell()

setPdSupport

public void setPdSupport(ProgressDialogSupport pdSupport)
Parameters:
pdSupport - the pdSupport to set

setTitle

public void setTitle(java.lang.String titleLabel)
setTitle set the title text of the title label

Parameters:
titleLabel - the new text for the title label

setTitleLabel

public void setTitleLabel(org.eclipse.swt.widgets.Label titleLabel)
Parameters:
titleLabel - the titleLabel to set

showFinish

public void showFinish(java.lang.String finishMessage)

updateMain

public void updateMain(int value)

updateMainMessage

public void updateMainMessage(java.lang.String message)

updateProgress

public void updateProgress(int value)

updateProgress

public void updateProgress(int value,
                           java.lang.String message)

updateProgressMessage

public void updateProgressMessage(java.lang.String message)