@Override
	public void undo() {
		if (!isUndoRedoAllowed()) {
			throw new UnsupportedOperationException();
		}
		dataTypeIDMap.invalidate();
		super.undo();
	}
Provides a means of detecting changes to the underlying database during a transaction.
@return current modification count
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/compositeeditor/CompositeViewerDataTypeManager.java