de.folt.models.applicationmodel.guimodel.support
Class ProgressDialog
java.lang.Object
de.folt.models.applicationmodel.guimodel.support.ProgressDialog
public class ProgressDialog
- extends java.lang.Object
|
Constructor Summary |
ProgressDialog(org.eclipse.swt.widgets.Shell currentShell,
java.lang.String title,
java.lang.String progressMessage,
short style)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOUBLE_BARS
public static short DOUBLE_BARS
NO_BARS
public static short NO_BARS
SINGLE_BAR
public static short SINGLE_BAR
ProgressDialog
public ProgressDialog(org.eclipse.swt.widgets.Shell currentShell,
java.lang.String title,
java.lang.String progressMessage,
short style)
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)