Package ghidra.framework.data
Class ToolState
java.lang.Object
ghidra.framework.data.ToolState
- Direct Known Subclasses:
GhidraToolState
Container object for the state of the tool to hold an XML element.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionToolState
(PluginTool tool, DomainObject domainObject) Construct a new tool state. -
Method Summary
Modifier and TypeMethodDescriptionvoid
getAfterState
(DomainObject domainObject) void
restoreAfterRedo
(DomainObject domainObject) Restore the tool's state after an undovoid
restoreAfterUndo
(DomainObject domainObject) Restore the tool's state after an undo
-
Field Details
-
tool
-
-
Constructor Details
-
ToolState
Construct a new tool state.- Parameters:
tool
- tool's state to savedomainObject
- the object containing the tool state
-
-
Method Details
-
restoreAfterUndo
Restore the tool's state after an undo -
restoreAfterRedo
Restore the tool's state after an undo -
getAfterState
-