public class DialogFindReplace
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 |
---|
DialogFindReplace(org.eclipse.swt.widgets.Shell parentShell,
Model model,
DataHandle handle,
int column)
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<java.lang.String,java.lang.String> |
getValue()
Returns a pair containing the string to be found and the string with
which it is to be replaced
|
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 DialogFindReplace(org.eclipse.swt.widgets.Shell parentShell, Model model, DataHandle handle, int column)
parentShell
- handle
- column
- public org.apache.commons.math3.util.Pair<java.lang.String,java.lang.String> 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