Package ghidra.framework.data

# Class GhidraToolState

java.lang.Object
ghidra.framework.data.ToolState
ghidra.framework.data.GhidraToolState

All Implemented Interfaces:
  `NavigatableRemovalListener`

public class GhidraToolState extends ToolState implements NavigatableRemovalListener

- ## Field Summary

  ### Fields inherited from class ghidra.framework.data.ToolState

  `tool`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `GhidraToolState(PluginTool tool, DomainObject domainObject)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `getAfterState(DomainObject domainObject)`
  `void`
  `navigatableRemoved(Navigatable nav)`
  `void`
  `restoreAfterRedo(DomainObject domainObject)`
  Restore the tool's state after an undo
  `void`
  `restoreAfterUndo(DomainObject domainObject)`
  Restore the tool's state after an undo

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### GhidraToolState

    public GhidraToolState(PluginTool tool, DomainObject domainObject)

- ## Method Details

  - ### navigatableRemoved

    public void navigatableRemoved(Navigatable nav)
    Specified by:
      `navigatableRemoved` in interface `NavigatableRemovalListener`

  - ### getAfterState

    public void getAfterState(DomainObject domainObject)
    Overrides:
      `getAfterState` in class `ToolState`

  - ### restoreAfterRedo

    public void restoreAfterRedo(DomainObject domainObject)
    Description copied from class: `ToolState`
    Restore the tool's state after an undo
    Overrides:
      `restoreAfterRedo` in class `ToolState`

  - ### restoreAfterUndo

    public void restoreAfterUndo(DomainObject domainObject)
    Description copied from class: `ToolState`
    Restore the tool's state after an undo
    Overrides:
      `restoreAfterUndo` in class `ToolState`