Package ghidra.app.util.navigation
Class GoToSymbolSearchTask
java.lang.Object
ghidra.util.task.Task
ghidra.app.util.navigation.GoToSymbolSearchTask
- All Implemented Interfaces:
MonitoredRunnable
Task for searching for symbols. All the logic for the search is done by the
SymbolSearcher
.-
Field Summary
Fields inherited from class ghidra.util.task.Task
taskMonitor, waitForTaskCompleted
-
Constructor Summary
ConstructorsConstructorDescriptionGoToSymbolSearchTask
(QueryData queryData, List<Program> searchPrograms, int limit) -
Method Summary
Modifier and TypeMethodDescriptionvoid
run
(TaskMonitor monitor) This is the method that will be called to do the workMethods inherited from class ghidra.util.task.Task
addTaskListener, canCancel, cancel, getStatusTextAlignment, getTaskTitle, getWaitForTaskCompleted, hasProgress, isCancelled, isModal, monitoredRun, notifyTaskListeners, setHasProgress
-
Constructor Details
-
GoToSymbolSearchTask
-
-
Method Details
-
run
Description copied from class:Task
This is the method that will be called to do the workNote: The run(TaskMonitor) method should not make any calls directly on Swing components, as these calls are not thread safe. Place Swing calls in a Runnable, then call
Swing.runLater(Runnable)
orSwing.runNow(Runnable)
to schedule the Runnable inside of the AWT Event Thread.- Specified by:
run
in classTask
- Parameters:
monitor
- The TaskMonitor that will monitor the executing Task- Throws:
CancelledException
- if the task is cancelled. Subclasses can trigger this exception by callingTaskMonitor.checkCancelled()
. This allows them to break out of the current work stack.
-
getResults
-