| Home >> All >> org >> eclipse >> jface >> [ dialogs Javadoc ] |
org.eclipse.jface.dialogs: Javadoc index of package org.eclipse.jface.dialogs.
Package Samples:
org.eclipse.jface.dialogs
Classes:
ProgressMonitorDialog: A modal dialog that displays progress during a long running operation. This concrete dialog class can be instantiated as is, or further subclassed as required. Typical usage is: try { IRunnableWithProgress op = ...; new ProgressMonitorDialog(activeShell).run(true, true, op); } catch (InvocationTargetException e) { // handle exception } catch (InterruptedException e) { // handle cancelation } Note that the ProgressMonitorDialog is not intended to be used with multiple runnables - this dialog should be discarded after completion of one IRunnableWithProgress and a new one instantiated for use by a ...
MessageDialogWithToggle: A message dialog which also allows the user to adjust a toggle setting. If a preference store is provided and the user selects the toggle, then the user's answer (yes/ok or no) will be persisted in the store. If no store is provided, then this information can be queried after the dialog closes. This type of dialog should be used whenever you want to user to be able to avoid being prompted in the future. It is strongly recommended that a cancel option be provided, so that the user has the option of making the decision at a later point in time. The semantic for a cancel button should be to cancel ...
DialogSettings: Concrete implementation of a dialog settings ( IDialogSettings ) using a hash table and XML. The dialog store can be read from and saved to a stream. All keys and values must be strings or array of strings. Primitive types are converted to strings. This class was not designed to be subclassed. Here is an example of using a DialogSettings: DialogSettings settings = new DialogSettings("root"); settings.put("Boolean1",true); settings.put("Long1",100); settings.put("Array1",new String[]{"aaaa1","bbbb1","cccc1"}); DialogSettings section = new DialogSettings("sectionName"); settings.addSection(section); ...
Dialog: A dialog is a specialized window used for narrow-focused communication with the user. Dialogs are usually modal. Consequently, it is generally bad practice to open a dialog without a parent. A modal dialog without a parent is not prevented from disappearing behind the application's other windows, making it very confusing for the user.
ProgressIndicator: A control for showing progress feedback for a long running operation. This control supports both determinate and indeterminate SWT progress bars. For indeterminate progress, we don't have to know the total amount of work in advance and no worked method needs to be called.
IDialogSettings: An interface to a storage mechanism for making dialog settings persistent. The store manages a collection of key/value pairs. The keys must be strings and the values can be either, strings or array of strings. Convenience API to convert primitive types to strings is provided.
ErrorDialog: A dialog to display one or more errors to the user, as contained in an IStatus object. If an error contains additional detailed information then a Details button is automatically supplied, which shows or hides an error details viewer when pressed by the user.
IconAndMessageDialog: The IconAndMessageDialog is the abstract superclass of dialogs that have an icon and a message as the first two widgets. In this dialog the icon and message are direct children of the shell in order that they can be read by accessibility tools more easily.
DialogMessageArea: The DialogMessageArea is a resusable component for adding an accessible message area to a dialog. When the message is normal a CLabel is used but an errors replaces the message area with a non editable text that can take focus for use by screen readers.
TitleAreaDialog: A dialog that has a title area for displaying a title and an image as well as a common area for displaying a description, a message, or an error message. This dialog class may be subclassed.
IDialogBlockedHandler: The IDialogBlockedHandler is the handler used by JFace to provide extra information when a blocking has occured. There is one static instance of this class used by WizardDialog and ModalContext.
IDialogConstants: IDialogConstants is the interface for common dialog strings and ids used throughout JFace. It is recommended that you use these labels and ids whereever for consistency with the JFace dialogs.
InputDialog: A simple input dialog for soliciting an input string from the user. This concrete dialog class can be instantiated as is, or further subclassed as required.
MessageDialog: A dialog for showing messages to the user. This concrete dialog class can be instantiated as is, or further subclassed as required.
IMessageProvider: Minimal interface to a message provider. Used for dialog pages which can provide a message with an icon.
ControlEnableState: Helper class to save the enable/disable state of a control including all its descendent controls.
DialogPage: Abstract base implementation of a dialog page. All dialog pages are subclasses of this one.
IInputValidator: The IInputValidator is the interface for simple validators.
IDialogPage: Interface for a page in a multi-page dialog.
| Home | Contact Us | Privacy Policy | Terms of Service |