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
FieldsChangeModifier and TypeFieldDescriptionprotected GhidraComboBox<String> MODIFIEDprotected FindDialogSearcherNEWprotected SearchResultsFields inherited from class docking.DialogComponentProvider
applyButton, buttonPanel, cancelButton, dismissButton, okButton, rootPanel -
Constructor Summary
Constructors -
Method Summary
ChangeModifier and TypeMethodDescriptionNEWprotected 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) NEWprotected voidprotected voidenableButtons(boolean b) MODIFIEDvoidnext()voidprevious()voidNEWvoidsetFindAllEnabled(boolean enabled) voidsetHistory(List<String> history) voidsetSearchText(String text) protected voidstoreSearchText(String text) NEWvoidtoFront()Moves the dialog associated with this provider to the front.protected booleanuseRegex()REMOVEDvoidnotifySearchHit(SearchLocation location) RemovedMethods 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 MODIFIED
type: FindDialogSearcher → FindDialogSearcher-docking.widgets.FindDialogSearcher searcher+docking.widgets.search.FindDialogSearcher searcher -
searchResults NEW
-
-
Constructor Details
-
FindDialog
-
-
Method Details
-
setFindAllEnabled NEW
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 NEW
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 NEW
protected void doSearchAll() -
toFront NEW
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 MODIFIED
return type: FindDialogSearcher → FindDialogSearcher-docking.widgets.FindDialogSearcher getSearcher()+docking.widgets.search.FindDialogSearcher getSearcher() -
setSearchText
-
getSearchText
-
setHistory
-
storeSearchText
-