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 from
org.eclipse.ui.texteditor.FindReplaceDialog. Used internally by
SearchAction.-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jface.window.Window
org.eclipse.jface.window.Window.IExceptionHandler -
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, ELLIPSISFields inherited from class org.eclipse.jface.window.Window
CANCEL, OK, resizeHasOccurred -
Constructor Summary
ConstructorsConstructorDescriptionSearchDialog(org.eclipse.swt.widgets.Shell shell, Comparator<?> comparator, int style) -
Method Summary
Modifier and TypeMethodDescriptionbooleanclose()voidcreate()protected org.eclipse.swt.widgets.ControlcreateContents(org.eclipse.swt.widgets.Composite parent) protected voidstatic intgetButtonWidthHint(org.eclipse.swt.widgets.Button button) protected org.eclipse.jface.dialogs.IDialogSettingsprotected intorg.eclipse.jface.dialogs.IDialogSettingsbooleanisModal()protected booleanvoidMethods 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, shortenTextMethods 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 Details
-
SearchDialog
-
-
Method Details
-
setInput
-
isResizable
protected boolean isResizable()- Overrides:
isResizablein classorg.eclipse.jface.dialogs.Dialog
-
isModal
public boolean isModal()- Since:
- 1.5
-
getNatTable
- Since:
- 1.5
-
getOriginalDialogSettings
public org.eclipse.jface.dialogs.IDialogSettings getOriginalDialogSettings()- Since:
- 1.5
-
create
public void create()- Overrides:
createin classorg.eclipse.jface.dialogs.Dialog
-
close
public boolean close()- Overrides:
closein classorg.eclipse.jface.dialogs.Dialog
-
createContents
protected org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent) - Overrides:
createContentsin 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:
getDialogBoundsSettingsin classorg.eclipse.jface.dialogs.Dialog
-
getDialogBoundsStrategy
protected int getDialogBoundsStrategy()- Overrides:
getDialogBoundsStrategyin classorg.eclipse.jface.dialogs.Dialog
-