|
IBM Rational Pluglets Release 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPlugletMessageDialog
Displays messages and error dialogs for the pluglet.
This interface is implemented by the pluglet host.
| Method Summary | |
|---|---|
boolean |
confirm(String message,
String title)
Displays a message dialog with OK and Cancel buttons. |
void |
error(String message,
String title)
Displays an error dialog with an OK button. |
void |
inform(String message,
String title)
Displays an information dialog with an OK button. |
String |
prompt(String message,
String initialText,
String title)
Displays an input dialog with a prompt message, a text input field, and OK and Cancel buttons. |
boolean |
question(String message,
String title)
Displays a question message dialog with Yes and No buttons. |
void |
warning(String message,
String title)
Displays a warning dialog with an OK button. |
| Method Detail |
|---|
boolean confirm(String message,
String title)
message - The message to be displayed.title - The title of the message dialog.
boolean value of true
when the OK button is pressed. Otherwise,
it returns a value of false.
void error(String message,
String title)
message - The message to be displayed.title - The title of the error dialog.
void inform(String message,
String title)
message - The message to be displayed.title - The title of the information dialog.
String prompt(String message,
String initialText,
String title)
message - The prompt to be displayed.initialText - The initial text to be displayed in the
text input field.title - The title of the dialog.
null value but possibly
zero-length. Otherwise, it returns a value of null.
boolean question(String message,
String title)
No buttons.
message - The question message to be displayed.title - The title of the question message dialog.
boolean value of true
when the Yes button is pressed. Otherwise,
it returns a value of false.
void warning(String message,
String title)
message - The message to be displayed.title - The title of the warning dialog.
|
IBM Rational Pluglets Release 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
© Copyright IBM Corp. 2000, 2007. All rights reserved.