Package ghidra.util.classfinder
Class ClassSearchTask
- java.lang.Object
-
- ghidra.util.task.Task
-
- ghidra.util.classfinder.ClassSearchTask
-
- All Implemented Interfaces:
MonitoredRunnable
public class ClassSearchTask extends Task
Task for searching for classes. This allows for a runtime refresh of scanned classes.
-
-
Field Summary
-
Fields inherited from class ghidra.util.task.Task
taskMonitor, waitForTaskCompleted
-
-
Constructor Summary
Constructors Constructor Description ClassSearchTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run(TaskMonitor taskMonitor)
This is the method that will be called to do the work-
Methods inherited from class ghidra.util.task.Task
addTaskListener, canCancel, cancel, getStatusTextAlignment, getTaskTitle, hasProgress, isModal, monitoredRun, notifyTaskListeners, setHasProgress
-
-
-
-
Method Detail
-
run
public void run(TaskMonitor taskMonitor)
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
SystemUtilities.runSwingLater(Runnable)
orSystemUtilities.runSwingNow(Runnable)
to schedule the Runnable inside of the AWT Event Thread.
-
-