net.sf.okapi.common
Interface IWaitDialog
public interface IWaitDialog
Provides a generic way to open a dialog box and wait for a simple
input from the user.
|
Method Summary |
int |
waitForUserInput(java.lang.String message,
java.lang.String okLabel)
Opens a dialog or prompt and waits for the user input. |
waitForUserInput
int waitForUserInput(java.lang.String message,
java.lang.String okLabel)
- Opens a dialog or prompt and waits for the user input.
- Parameters:
message - the message to display.okLabel - the label to display for the OK button.
- Returns:
- 0 if the user cancels, a positive value otherwise.