Package ghidra.app.util.navigation
Class GoToAddressLabelDialog
- java.lang.Object
-
- docking.DialogComponentProvider
-
- ghidra.app.util.navigation.GoToAddressLabelDialog
-
- All Implemented Interfaces:
ActionContextProvider
,GoToServiceListener
,StatusListener
,TaskListener
public class GoToAddressLabelDialog extends DialogComponentProvider implements GoToServiceListener
-
-
Field Summary
-
Fields inherited from class docking.DialogComponentProvider
applyButton, buttonPanel, cancelButton, dismissButton, okButton, rootPanel
-
-
Constructor Summary
Constructors Constructor Description GoToAddressLabelDialog(GoToService gotoService, Plugin plugin)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javax.swing.JPanel
buildMainPanel()
Builds the main panel for this dialog.void
close()
protected void
dialogShown()
Override this method if you want to do something when the dialog is made visiblejava.util.List<java.lang.String>
getHistory()
void
gotoCompleted(java.lang.String queryString, boolean foundResults)
Notification that the GOTO completed.void
gotoFailed(java.lang.Exception exc)
Notification that the GOTO failed with an exception.void
maxEntrysChanged()
void
okCallback()
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
setText(java.lang.String text)
void
show(Navigatable nav, Address addr, PluginTool tool)
Popup up the dialog in the center of the tool.protected void
showExpressionHelp()
void
writeConfigState(SaveState saveState)
-
Methods inherited from class docking.DialogComponentProvider
addAction, addApplyButton, addButton, addCancelButton, addDismissButton, addOKButton, addWorkPanel, alertMessage, alertMessage, applyCallback, cancelCallback, cancelCurrentTask, clearScheduledTask, clearStatusText, dialogClosed, dismissCallback, dispose, doInitialize, escapeCallback, executeProgressTask, getActionContext, getActions, getBackground, getBounds, getComponent, getDefaultButton, getDefaultSize, getDialogSize, getFocusComponent, getGlassPane, getHelpLocatdion, getId, getIntialLocation, getLocationOnScreen, getParent, getPreferredSize, getRemberSize, getRememberLocation, getStatusColor, getStatusLabel, getStatusText, getTaskMonitorComponent, getTaskScheduler, getTitle, getUseSharedLocation, hideTaskMonitorComponent, isApplyEnabled, isCancelEnabled, isModal, isOKEnabled, isResizeable, isRunningTask, isShowing, isTransient, isVisible, notifyContextChanged, removeAction, removeButton, removeWorkPanel, repack, 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 Detail
-
GoToAddressLabelDialog
public GoToAddressLabelDialog(GoToService gotoService, Plugin plugin)
-
-
Method Detail
-
show
public void show(Navigatable nav, Address addr, PluginTool tool)
Popup up the dialog in the center of the tool.
-
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 classDialogComponentProvider
-
gotoCompleted
public void gotoCompleted(java.lang.String queryString, boolean foundResults)
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
public void gotoFailed(java.lang.Exception exc)
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
protected final javax.swing.JPanel buildMainPanel()
Builds the main panel for this dialog.
-
showExpressionHelp
protected void showExpressionHelp()
-
readConfigState
public void readConfigState(SaveState saveState)
-
writeConfigState
public void writeConfigState(SaveState saveState)
-
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
public java.util.List<java.lang.String> getHistory()
-
setCStyleInput
public void setCStyleInput(boolean cStyleInput)
-
setMemory
public void setMemory(boolean goToMemory)
-
setText
public void setText(java.lang.String text)
-
-