|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public 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
.public void error(String message, String title)
message
- The message to be displayed.title
- The title of the error dialog.public void inform(String message, String title)
message
- The message to be displayed.title
- The title of the information dialog.public 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
.public 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
.public void warning(String message, String title)
message
- The message to be displayed.title
- The title of the warning dialog.
|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2004. All rights reserved.