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, 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 |
---|---|
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, getMessage, setMessage, setMessage, setTitle, setTitleAreaColor, setTitleImage
closeTray, getTray, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailable
applyDialogFont, close, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, create, getBlockedHandler, getImage, setBlockedHandler, shortenText
getDefaultImage, getDefaultImages, getDefaultOrientation, getReturnCode, getShell, getWindowManager, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, 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