public void getAfterState(DomainObject domainObject) {
		afterState = tool.getUndoRedoToolState(domainObject);
	}
Restore the tool's state after an undo
Ghidra/Framework/Project/src/main/java/ghidra/framework/data/ToolState.java