public class DialogTopBottomCoding
extends org.eclipse.jface.dialogs.TitleAreaDialog
DLG_IMG_TITLE_BANNER, DLG_IMG_TITLE_ERROR, INFO_MESSAGE, WARNING_MESSAGE
blockedHandler, 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 |
---|
DialogTopBottomCoding(org.eclipse.swt.widgets.Shell parentShell,
DataType<?> type)
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
protected void |
buttonPressed(int buttonId) |
protected void |
configureShell(org.eclipse.swt.widgets.Shell newShell) |
protected void |
createButtonsForButtonBar(org.eclipse.swt.widgets.Composite parent) |
protected org.eclipse.swt.widgets.Control |
createContents(org.eclipse.swt.widgets.Composite parent) |
protected org.eclipse.swt.widgets.Control |
createDialogArea(org.eclipse.swt.widgets.Composite parent) |
protected org.eclipse.swt.widgets.Button |
getOkButton()
Returns the ok button.
|
protected org.eclipse.swt.events.ShellListener |
getShellListener() |
org.apache.commons.math3.util.Pair<org.apache.commons.math3.util.Pair<java.lang.String,java.lang.Boolean>,org.apache.commons.math3.util.Pair<java.lang.String,java.lang.Boolean>> |
getValue()
Returns a pair containing the bottom threshold+inclusive and the top threshold + inclusive.
|
void |
setErrorMessage(java.lang.String message) |
getErrorMessage, getInitialSize, getMessage, getTitleArea, getTitleImageLabel, setMessage, setMessage, setTitle, setTitleAreaColor, setTitleImage
closeTray, createButtonBar, createHelpControl, getLayout, getTray, handleShellCloseEvent, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailable
applyDialogFont, cancelPressed, close, 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, shortenText
canHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getParentShell, getReturnCode, getShell, getShellStyle, getWindowManager, handleFontChange, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager
public DialogTopBottomCoding(org.eclipse.swt.widgets.Shell parentShell, DataType<?> type)
parentShell
- type
- public org.apache.commons.math3.util.Pair<org.apache.commons.math3.util.Pair<java.lang.String,java.lang.Boolean>,org.apache.commons.math3.util.Pair<java.lang.String,java.lang.Boolean>> getValue()
public void setErrorMessage(java.lang.String message)
setErrorMessage
in class org.eclipse.jface.dialogs.TitleAreaDialog
protected void buttonPressed(int buttonId)
buttonPressed
in class org.eclipse.jface.dialogs.Dialog
protected void configureShell(org.eclipse.swt.widgets.Shell newShell)
configureShell
in class org.eclipse.jface.window.Window
protected void createButtonsForButtonBar(org.eclipse.swt.widgets.Composite parent)
createButtonsForButtonBar
in class org.eclipse.jface.dialogs.Dialog
protected org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
createContents
in class org.eclipse.jface.dialogs.TitleAreaDialog
protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
createDialogArea
in class org.eclipse.jface.dialogs.TitleAreaDialog
protected org.eclipse.swt.widgets.Button getOkButton()
protected org.eclipse.swt.events.ShellListener getShellListener()
getShellListener
in class org.eclipse.jface.window.Window