Package docking.widgets.table.threaded
Class IncrementalLoadJob<ROW_OBJECT>
- java.lang.Object
-
- ghidra.util.worker.Job
-
- docking.widgets.table.threaded.IncrementalLoadJob<ROW_OBJECT>
-
- All Implemented Interfaces:
ThreadedTableModelListener
public class IncrementalLoadJob<ROW_OBJECT> extends Job implements ThreadedTableModelListener
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cancel()
void
loadingFinished(boolean wasCancelled)
Called when the table is done loading data.void
loadingStarted()
Called when the table begins to load new data.void
loadPending()
Called when the model has new data to be loaded, but has not yet started the load process.void
run(TaskMonitor monitor)
The method that gets called by the Worker when this job is selected to be run by the Worker.-
Methods inherited from class ghidra.util.worker.Job
getError, hasError, isCancelled, isCompleted, setCompleted, setError, setTaskMonitor
-
-
-
-
Method Detail
-
run
public void run(TaskMonitor monitor)
Description copied from class:Job
The method that gets called by the Worker when this job is selected to be run by the Worker.
-
loadPending
public void loadPending()
Description copied from interface:ThreadedTableModelListener
Called when the model has new data to be loaded, but has not yet started the load process.- Specified by:
loadPending
in interfaceThreadedTableModelListener
-
loadingStarted
public void loadingStarted()
Description copied from interface:ThreadedTableModelListener
Called when the table begins to load new data.- Specified by:
loadingStarted
in interfaceThreadedTableModelListener
-
loadingFinished
public void loadingFinished(boolean wasCancelled)
Description copied from interface:ThreadedTableModelListener
Called when the table is done loading data.- Specified by:
loadingFinished
in interfaceThreadedTableModelListener
- Parameters:
wasCancelled
- true if the load was cancelled.
-
-