Class SearchDialog
- java.lang.Object
-
- org.eclipse.jface.window.Window
-
- org.eclipse.jface.dialogs.Dialog
-
- org.eclipse.nebula.widgets.nattable.search.gui.SearchDialog
-
- All Implemented Interfaces:
org.eclipse.jface.window.IShellProvider
public class SearchDialog extends org.eclipse.jface.dialogs.Dialog
Find Dialog. Borrows fromorg.eclipse.ui.texteditor.FindReplaceDialog
. Used internally bySearchAction
.
-
-
Field Summary
-
Fields inherited from class org.eclipse.jface.dialogs.Dialog
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 Summary
Constructors Constructor Description SearchDialog(org.eclipse.swt.widgets.Shell shell, Comparator<?> comparator, int style)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
close()
void
create()
protected org.eclipse.swt.widgets.Control
createContents(org.eclipse.swt.widgets.Composite parent)
protected void
doIncrementalFind()
static int
getButtonWidthHint(org.eclipse.swt.widgets.Button button)
protected org.eclipse.jface.dialogs.IDialogSettings
getDialogBoundsSettings()
protected int
getDialogBoundsStrategy()
NatTable
getNatTable()
org.eclipse.jface.dialogs.IDialogSettings
getOriginalDialogSettings()
boolean
isModal()
protected boolean
isResizable()
void
setInput(NatTable natTable, org.eclipse.jface.dialogs.IDialogSettings settings)
-
Methods inherited from class org.eclipse.jface.dialogs.Dialog
applyDialogFont, buttonPressed, cancelPressed, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, createButton, createButtonBar, createButtonsForButtonBar, createDialogArea, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getImage, getInitialLocation, getInitialSize, getOKButton, initializeBounds, initializeDialogUnits, okPressed, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText
-
Methods inherited from class org.eclipse.jface.window.Window
canHandleShellCloseEvent, configureShell, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getLayout, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager
-
-
-
-
Constructor Detail
-
SearchDialog
public SearchDialog(org.eclipse.swt.widgets.Shell shell, Comparator<?> comparator, int style)
-
-
Method Detail
-
setInput
public void setInput(NatTable natTable, org.eclipse.jface.dialogs.IDialogSettings settings)
-
isResizable
protected boolean isResizable()
- Overrides:
isResizable
in classorg.eclipse.jface.dialogs.Dialog
-
isModal
public boolean isModal()
- Since:
- 1.5
-
getNatTable
public NatTable getNatTable()
- Since:
- 1.5
-
getOriginalDialogSettings
public org.eclipse.jface.dialogs.IDialogSettings getOriginalDialogSettings()
- Since:
- 1.5
-
create
public void create()
- Overrides:
create
in classorg.eclipse.jface.dialogs.Dialog
-
close
public boolean close()
- Overrides:
close
in classorg.eclipse.jface.dialogs.Dialog
-
createContents
protected org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
- Overrides:
createContents
in classorg.eclipse.jface.dialogs.Dialog
-
getButtonWidthHint
public static int getButtonWidthHint(org.eclipse.swt.widgets.Button button)
-
doIncrementalFind
protected void doIncrementalFind()
-
getDialogBoundsSettings
protected org.eclipse.jface.dialogs.IDialogSettings getDialogBoundsSettings()
- Overrides:
getDialogBoundsSettings
in classorg.eclipse.jface.dialogs.Dialog
-
getDialogBoundsStrategy
protected int getDialogBoundsStrategy()
- Overrides:
getDialogBoundsStrategy
in classorg.eclipse.jface.dialogs.Dialog
-
-