Package ghidra.app.util.navigation
Class GoToAddressLabelDialog
java.lang.Object
docking.DialogComponentProvider
docking.ReusableDialogComponentProvider
ghidra.app.util.navigation.GoToAddressLabelDialog
- All Implemented Interfaces:
ActionContextProvider
,GoToServiceListener
,StatusListener
,TaskListener
public class GoToAddressLabelDialog
extends ReusableDialogComponentProvider
implements GoToServiceListener
-
Field Summary
Fields inherited from class docking.DialogComponentProvider
applyButton, buttonPanel, cancelButton, dismissButton, okButton, rootPanel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected final JPanel
Builds the main panel for this dialog.void
close()
protected void
Override this method if you want to do something when the dialog is made visiblevoid
gotoCompleted
(String queryString, boolean foundResults) Notification that the GOTO completed.void
gotoFailed
(Exception exc) Notification that the GOTO failed with an exception.void
final void
The callback method for when the "OK" button is pressed.void
readConfigState
(SaveState saveState) void
setCaseSensitive
(boolean b) void
setCStyleInput
(boolean cStyleInput) void
setMemory
(boolean goToMemory) void
void
show
(Navigatable nav, Address addr, PluginTool tool) Popup up the dialog in the center of the tool.void
writeConfigState
(SaveState saveState) Methods inherited from class docking.ReusableDialogComponentProvider
dispose
Methods inherited from class docking.DialogComponentProvider
addAction, addApplyButton, addButton, addCancelButton, addDismissButton, addOKButton, addWorkPanel, alertMessage, alertMessage, applyCallback, cancelCallback, cancelCurrentTask, clearScheduledTask, clearStatusText, closeDialog, dialogClosed, 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, isModal, isOKEnabled, isResizeable, isRunningTask, isShowing, isTransient, isVisible, notifyContextChanged, 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, toFront, toString, waitForCurrentTask
-
Constructor Details
-
GoToAddressLabelDialog
-
-
Method Details
-
dialogShown
protected void dialogShown()Description copied from class:DialogComponentProvider
Override this method if you want to do something when the dialog is made visible- Overrides:
dialogShown
in classDialogComponentProvider
-
close
public void close()- Overrides:
close
in classReusableDialogComponentProvider
-
gotoCompleted
Description copied from interface:GoToServiceListener
Notification that the GOTO completed.- Specified by:
gotoCompleted
in interfaceGoToServiceListener
- Parameters:
queryString
- original query stringfoundResults
- true if at least one hit was found for the query
-
gotoFailed
Description copied from interface:GoToServiceListener
Notification that the GOTO failed with an exception.- Specified by:
gotoFailed
in interfaceGoToServiceListener
- Parameters:
exc
- the exception that occurred.
-
buildMainPanel
Builds the main panel for this dialog.- Returns:
- the main panel for this dialog
-
readConfigState
-
writeConfigState
-
okCallback
public final void okCallback()Description copied from class:DialogComponentProvider
The callback method for when the "OK" button is pressed.- Overrides:
okCallback
in classDialogComponentProvider
-
maxEntrysChanged
public void maxEntrysChanged() -
setCaseSensitive
public void setCaseSensitive(boolean b) -
getHistory
-
setCStyleInput
public void setCStyleInput(boolean cStyleInput) -
setMemory
public void setMemory(boolean goToMemory) -
setText