Package docking.widgets
Class FindDialog
java.lang.Object
docking.DialogComponentProvider
docking.ReusableDialogComponentProvider
docking.widgets.FindDialog
- All Implemented Interfaces:
ActionContextProvider,StatusListener,TaskListener
- Direct Known Subclasses:
DecompilerFindDialog
A dialog used to perform text searches on a text display.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected GhidraComboBox<String> protected FindDialogSearcherprotected SearchResultsFields inherited from class docking.DialogComponentProvider
applyButton, buttonPanel, cancelButton, dismissButton, okButton, rootPanel -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidOverride this method if you want to do something when the dialog is made invisibleprotected voidOverride this method if you want to do something when the dialog is made visiblevoiddispose()Disposes this dialog.protected voiddoSearch(boolean forward) protected voidprotected voidenableButtons(boolean b) voidnext()voidprevious()voidvoidsetFindAllEnabled(boolean enabled) voidsetHistory(List<String> history) voidsetSearchText(String text) protected voidstoreSearchText(String text) voidtoFront()Moves the dialog associated with this provider to the front.protected booleanuseRegex()Methods inherited from class docking.ReusableDialogComponentProvider
closeMethods inherited from class docking.DialogComponentProvider
addAction, addApplyButton, addButton, addCancelButton, addDismissButton, addOKButton, addWorkPanel, alertMessage, alertMessage, applyCallback, cancelCallback, cancelCurrentTask, clearScheduledTask, clearStatusText, closeDialog, createSharedActions, dismissCallback, doInitialize, escapeCallback, executeProgressTask, getActionContext, getActions, getBackground, getBounds, getComponent, getDefaultButton, getDefaultSize, getDialogSize, getFocusComponent, getGlassPane, getHelpLocation, getId, getInitialLocation, getLocationOnScreen, getParent, getPreferredSize, getRememberLocation, getRememberSize, getStatusColor, getStatusLabel, getStatusText, getTaskMonitorComponent, getTaskScheduler, getTitle, getUseSharedLocation, hideTaskMonitorComponent, isApplyEnabled, isCancelEnabled, isDialogKeyBindingAction, isModal, isOKEnabled, isResizeable, isRunningTask, isShowing, isTransient, isVisible, notifyContextChanged, okCallback, removeAction, removeButton, removeWorkPanel, repack, setAccessibleDescription, setApplyEnabled, setApplyToolTip, setBackground, setCancelButtonText, setCancelEnabled, setCancelToolTip, setCursor, setDefaultButton, setDefaultSize, setDialogSize, setDismissToolTip, setFocusComponent, setGlassPane, setHelpLocation, setInitialLocation, setMinimumSize, setMinimumSize, setOkButtonText, setOkEnabled, setOkToolTip, setPreferredSize, setRememberLocation, setRememberSize, setResizable, setStatusJustification, setStatusText, setStatusText, setStatusText, setTitle, setTransient, setUseSharedLocation, showProgressBar, showTaskMonitorComponent, stopProgressTimer, taskCancelled, taskCompleted, toString, waitForCurrentTask
-
Field Details
-
comboBox
-
searcher
-
searchResults
-
-
Constructor Details
-
FindDialog
-
-
Method Details
-
setFindAllEnabled
public void setFindAllEnabled(boolean enabled) -
dispose
public void dispose()Description copied from class:DialogComponentProviderDisposes this dialog. Only call this when the dialog is no longer used. Calling this method will close the dialog if it is open.- Overrides:
disposein classReusableDialogComponentProvider
-
setClosedCallback
-
buildFindButtons
protected void buildFindButtons() -
enableButtons
protected void enableButtons(boolean b) -
next
public void next() -
previous
public void previous() -
useRegex
protected boolean useRegex() -
doSearch
protected void doSearch(boolean forward) -
doSearchAll
protected void doSearchAll() -
toFront
public void toFront()Description copied from class:DialogComponentProviderMoves the dialog associated with this provider to the front.- Overrides:
toFrontin classDialogComponentProvider
-
dialogShown
protected void dialogShown()Description copied from class:DialogComponentProviderOverride this method if you want to do something when the dialog is made visible- Overrides:
dialogShownin classDialogComponentProvider
-
dialogClosed
protected void dialogClosed()Description copied from class:DialogComponentProviderOverride this method if you want to do something when the dialog is made invisible- Overrides:
dialogClosedin classDialogComponentProvider
-
getSearcher
-
setSearchText
-
getSearchText
-
setHistory
-
storeSearchText
-