public interface IDEDialogs
| Modifier and Type | Field and Description | 
|---|---|
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. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
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. 
 | 
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
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 GUIPanelURISelectionDialog 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 GUIPanelURISelectionDialog 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 GUIPanelvoid showInformationDialog(java.lang.String title,
                         java.lang.String message,
                         GUIPanel parent)
title - The message box titlemessage - The message text.parent - The parent window handle GUIPanelvoid 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 GUIPanelint 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