Class ToolState

java.lang.Object
ghidra.framework.data.ToolState
Direct Known Subclasses:
GhidraToolState

public class ToolState extends Object
Container object for the state of the tool to hold an XML element.
  • Field Details Link icon

  • Constructor Details Link icon

    • ToolState Link icon

      public ToolState(PluginTool tool, DomainObject domainObject)
      Construct a new tool state.
      Parameters:
      tool - tool's state to save
      domainObject - the object containing the tool state
  • Method Details Link icon

    • restoreAfterUndo Link icon

      public void restoreAfterUndo(DomainObject domainObject)
      Restore the tool's state after an undo
    • restoreAfterRedo Link icon

      public void restoreAfterRedo(DomainObject domainObject)
      Restore the tool's state after an undo
    • getAfterState Link icon

      public void getAfterState(DomainObject domainObject)