public class JarVerificationDialog extends TitleAreaDialog
Window.IExceptionHandler| Modifier and Type | Field and Description |
|---|---|
static int |
INSTALL_ALL |
DLG_IMG_TITLE_BANNER, DLG_IMG_TITLE_ERROR, INFO_MESSAGE, WARNING_MESSAGEblockedHandler, buttonBar, DIALOG_DEFAULT_BOUNDS, DIALOG_PERSISTLOCATION, DIALOG_PERSISTSIZE, dialogArea, DLG_IMG_ERROR, DLG_IMG_HELP, DLG_IMG_INFO, DLG_IMG_MESSAGE_ERROR, DLG_IMG_MESSAGE_INFO, DLG_IMG_MESSAGE_WARNING, DLG_IMG_QUESTION, DLG_IMG_WARNING, ELLIPSIS| Constructor and Description |
|---|
JarVerificationDialog(Shell parentShell,
IDialogPage dialogPage,
IVerificationResult verificationResult)
Constructor for JarVerificationDialog.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
buttonPressed(int buttonId)
Notifies that this dialog's button with the given id has been pressed.
|
boolean |
close()
Closes this window, disposes its shell, and removes this window from its
window manager (if it has one).
|
protected void |
createButtonsForButtonBar(Composite parent)
Add buttons to the dialog's button bar.
|
protected Control |
createDialogArea(Composite parent)
Creates and returns the contents of the upper part of this dialog (above
the button bar).
|
Image |
getImage() |
createContents, getInitialSize, getTitleArea, getTitleImageLabel, setErrorMessage, setMessage, setMessage, setTitle, setTitleAreaColor, setTitleImagecloseTray, createButtonBar, createHelpControl, getLayout, getTray, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailableapplyDialogFont, cancelPressed, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getOKButton, initializeBounds, initializeDialogUnits, isResizable, okPressed, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenTextcanHandleShellCloseEvent, configureShell, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManagerpublic static final int INSTALL_ALL
public JarVerificationDialog(Shell parentShell, IDialogPage dialogPage, IVerificationResult verificationResult)
parentShell - protected void createButtonsForButtonBar(Composite parent)
createButtonsForButtonBar in class Dialogparent - the button bar compositeprotected Control createDialogArea(Composite parent)
TitleAreaDialog
The Dialog implementation of this framework method creates
and returns a new Composite with no margins and spacing.
Subclasses should override.
createDialogArea in class TitleAreaDialogparent - The parent composite to contain the dialog areapublic Image getImage()
IDialogPage.getImage()public boolean close()
Window
This framework method may be extended (super.close must
be called).
Note that in order to prevent recursive calls to this method
it does not call Shell#close(). As a result ShellListeners
will not receive a shellClosed event.
close in class TrayDialogtrue if the window is (or was already) closed, and
false if it is still openWindow.close()protected void buttonPressed(int buttonId)
Dialog
The Dialog implementation of this framework method calls
okPressed if the ok button is the pressed, and
cancelPressed if the cancel button is the pressed. All
other button presses are ignored. Subclasses may override to handle other
buttons, but should call super.buttonPressed if the
default handling of the ok and cancel buttons is desired.
buttonPressed in class DialogbuttonId - the id of the button that was pressed (see
IDialogConstants.*_ID constants)