Class ApplyMarkupItemTask

java.lang.Object
ghidra.util.task.Task
ghidra.feature.vt.gui.task.VtTask
ghidra.feature.vt.gui.task.ApplyMarkupItemTask
All Implemented Interfaces:
ghidra.util.task.MonitoredRunnable
Direct Known Subclasses:
ForceApplyMarkupItemTask

public class ApplyMarkupItemTask extends VtTask
  • Field Details

    • markupItems

      protected final Collection<VTMarkupItem> markupItems
    • options

      protected final ghidra.framework.options.ToolOptions options
  • Constructor Details

    • ApplyMarkupItemTask

      public ApplyMarkupItemTask(VTSession session, Collection<VTMarkupItem> markupItems, ghidra.framework.options.ToolOptions options)
  • Method Details

    • shouldSuspendSessionEvents

      protected boolean shouldSuspendSessionEvents()
      Description copied from class: VtTask
      Determine if session events should be suspended during task execution. This can improve performance during task execution at the expense of bulk table updates at task completion. Method return false by default. If not constructed with a session this method is not used.
      Overrides:
      shouldSuspendSessionEvents in class VtTask
      Returns:
      true if events should be suspended
    • getApplyActionType

      protected VTMarkupItemApplyActionType getApplyActionType(VTMarkupItem markupItem, ghidra.framework.options.ToolOptions markupItemOptions)
    • doWork

      protected boolean doWork(ghidra.util.task.TaskMonitor monitor) throws ghidra.util.exception.CancelledException
      Specified by:
      doWork in class VtTask
      Throws:
      ghidra.util.exception.CancelledException