Class ProgramActionContext

java.lang.Object
docking.DefaultActionContext
ghidra.app.context.ProgramActionContext
All Implemented Interfaces:
ActionContext
Direct Known Subclasses:
ProgramLocationActionContext, ProgramSymbolActionContext

public class ProgramActionContext extends DefaultActionContext
  • Field Details

    • program

      protected final Program program
  • Constructor Details

  • Method Details

    • getProgram

      public Program getProgram()
    • isActiveProgram NEW

      public boolean isActiveProgram()
      Returns true if the program in this context is the globally active program in the tool. This is generally true for all context. Some context providers may be working with a different program than the active program or they may be using the active program with restricted address views. In this latter case, this method should return false.
      Returns:
      true if the program is the active program; false means the program may not be the active program