|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IQuestionDialog
A simple dialog with a title, a message, and "yes" and "no" buttons
| Method Summary | |
|---|---|
void |
addCloseListener(java.lang.Runnable runnable)
Add a listener that will be modified when the dialog closes |
java.lang.Boolean |
getResult()
Get the user's answer |
Shell |
getShell()
|
void |
open()
Opens the dialog |
void |
pressNo()
Programmatically emulate a press on the "No" button |
void |
pressYes()
Programmatically emulate a press on the "Yes" button |
| Method Detail |
|---|
void open()
void pressYes()
void pressNo()
void addCloseListener(java.lang.Runnable runnable)
java.lang.Boolean getResult()
true if the user clicked "Yes"
false if the user clicked "No"
null if the user closed the dialog without clicking either on "Yes" or "No"
Shell getShell()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||