Package ghidra.graph.viewer.layout
Class CalculateLayoutLocationsTask<V extends VisualVertex,E extends VisualEdge<V>>
java.lang.Object
ghidra.util.task.Task
ghidra.graph.viewer.layout.CalculateLayoutLocationsTask<V,E>
- All Implemented Interfaces:
MonitoredRunnable
public class CalculateLayoutLocationsTask<V extends VisualVertex,E extends VisualEdge<V>>
extends Task
-
Field Summary
Fields inherited from class ghidra.util.task.Task
taskMonitor, waitForTaskCompleted
-
Constructor Summary
ConstructorDescriptionCalculateLayoutLocationsTask
(VisualGraph<V, E> graph, VisualGraphLayout<V, E> layout) -
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
-
CalculateLayoutLocationsTask
-
-
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. -
getLocations
-