Package docking.widgets.tree.tasks
Class GTreeSelectPathsTask
java.lang.Object
ghidra.util.worker.Job
ghidra.util.worker.PriorityJob
docking.widgets.tree.GTreeTask
docking.widgets.tree.tasks.GTreeSelectPathsTask
-
Field Summary
-
Constructor Summary
ConstructorDescriptionGTreeSelectPathsTask
(GTree gtree, JTree tree, List<TreePath> paths, GTreeSelectionEvent.EventOrigin origin) -
Method Summary
Modifier and TypeMethodDescriptionvoid
run
(TaskMonitor monitor) The method that gets called by the Worker when this job is selected to be run by the Worker.void
setExpandingDisabled
(boolean disabled) Tells the JTree to not expand paths for each selection that is set upon it.Methods inherited from class docking.widgets.tree.GTreeTask
runOnSwingThread, setTaskMonitor, translatePath
Methods inherited from class ghidra.util.worker.PriorityJob
getID, getPriority
Methods inherited from class ghidra.util.worker.Job
cancel, getError, hasError, isCancelled, isCompleted, setCompleted, setError
-
Constructor Details
-
GTreeSelectPathsTask
public GTreeSelectPathsTask(GTree gtree, JTree tree, List<TreePath> paths, GTreeSelectionEvent.EventOrigin origin)
-
-
Method Details
-
setExpandingDisabled
public void setExpandingDisabled(boolean disabled) Tells the JTree to not expand paths for each selection that is set upon it. Doing this will speed-up performance. However, only call this when some other task is going to ensure that paths are properly expanded.- Parameters:
disabled
- true to disable
-
run
Description copied from class:Job
The method that gets called by the Worker when this job is selected to be run by the Worker.
-