Class DecompilerProgramListener

java.lang.Object
ghidra.app.decompiler.component.DecompilerProgramListener
All Implemented Interfaces:
DomainObjectListener, EventListener

public class DecompilerProgramListener extends Object implements DomainObjectListener
Listener of Program events for decompiler panels. Program events are buffered using a SwingUpdateManager before triggering a new decompile process.
  • Constructor Details

    • DecompilerProgramListener

      public DecompilerProgramListener(DecompilerController controller, Runnable callback)
      Construct a listener with a callback to be called when a decompile should occur. Program events are buffered using SwingUpdateManager before the callback is called.
      Parameters:
      controller - the DecompilerController
      callback - the callback for when the decompile should be refreshed.
    • DecompilerProgramListener

      public DecompilerProgramListener(DecompilerController controller, SwingUpdateManager updater)
      Construct a listener with a SwingUpdateManger that should be kicked for every program change.
      Parameters:
      controller - the DecompilerController
      updater - A SwingUpdateManger to be kicked as program events are received which will eventually trigger a decompile refresh.
  • Method Details