|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDEDialogs
The IDEDialogs provides the interface through which extension writers can invoke standard IDE dialogs, such as: information, warning, error, file and directory selection dialogs.
Field Summary | |
---|---|
static int |
CANCEL_ID Button id for a "Cancel" button. |
static int |
NO_ID Button id for a "No" button. |
static int |
OK_CANCEL_OPTION Requests an option dialog with a OK and Cancel buttons. |
static int |
OK_ID Button id for an "Ok" button. |
static int |
YES_ID Button id for a "Yes" button. |
static int |
YES_NO_CANCEL_OPTION Requests an option dialog with a Yes, No, and Cancel buttons. |
static int |
YES_NO_OPTION Requests an option dialog with a Yes and No buttons. |
Method Summary | |
---|---|
URISelectionDialog |
getDirectorySelectionDialog(java.lang.String title, java.net.URI location, Context context, GUIPanel parent) Creates a "directory selection" dialog. |
URISelectionDialog |
getFileSelectionDialog(java.lang.String title, java.net.URI location, Context context, GUIPanel parent) Creates a "file selection" dialog. |
void |
showErrorDialog(java.lang.String title, java.lang.String message, GUIPanel parent) Show an error message box with title and message as specified |
void |
showInformationDialog(java.lang.String title, java.lang.String message, GUIPanel parent) Show an informational message box with title and message as specified. |
int |
showOptionDialog(java.lang.String title, java.lang.String message, int option, GUIPanel parent) Show an options dialog with title and message as specified. |
void |
showWarningDialog(java.lang.String title, java.lang.String message, GUIPanel parent) Show a warning type dialog with title and message as specified. |
Field Detail |
---|
static final int OK_ID
static final int YES_ID
static final int NO_ID
static final int CANCEL_ID
static final int OK_CANCEL_OPTION
static final int YES_NO_OPTION
static final int YES_NO_CANCEL_OPTION
Method Detail |
---|
URISelectionDialog getFileSelectionDialog(java.lang.String title, java.net.URI location, Context context, GUIPanel parent)
title
- The dialog title.location
- The default starting directory or pre-selected file.context
- The current Context
.parent
- The parent window handle GUIPanel
URISelectionDialog
classURISelectionDialog getDirectorySelectionDialog(java.lang.String title, java.net.URI location, Context context, GUIPanel parent)
title
- The dialog title.location
- The default starting directory or pre-selected file.context
- The current Context
.parent
- The parent window handle GUIPanel
URISelectionDialog
classvoid showErrorDialog(java.lang.String title, java.lang.String message, GUIPanel parent)
title
- The title of the error dialogmessage
- The error message.parent
- The parent window handle GUIPanel
void showInformationDialog(java.lang.String title, java.lang.String message, GUIPanel parent)
title
- The message box titlemessage
- The message text.parent
- The parent window handle GUIPanel
void showWarningDialog(java.lang.String title, java.lang.String message, GUIPanel parent)
title
- The title of the warning dialogmessage
- The message textparent
- The parent window handle GUIPanel
int showOptionDialog(java.lang.String title, java.lang.String message, int option, GUIPanel parent)
title
- The question titlemessage
- The question textoption
- Button options. Can be one of the following constants: OK_CANCEL_OPTION, YES_NO_OPTION, and YES_NO_CANCEL_OPTION.parent
- The parent window handle GUIPanel
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |