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

  • Constructor Details

    • ToolState

      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

    • restoreAfterUndo

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

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

      public void getAfterState(DomainObject domainObject)