public void restore(SaveState parentSaveState) {

		SaveState ss = parentSaveState.getSaveState(XML_NAME);

		arraysFilter = DtTypeFilter.restore("Arrays", ss.getSaveState("Arrays"));
		enumsFilter = DtTypeFilter.restore("Enums", ss.getSaveState("Enums"));
		functionsFilter = DtTypeFilter.restore("Functions", ss.getSaveState("Functions"));
		pointersFilter = DtTypeFilter.restore("Pointers", ss.getSaveState("Pointers"));
		structuresFilter = DtTypeFilter.restore("Structures", ss.getSaveState("Structures"));
		unionsFilter = DtTypeFilter.restore("Unions", ss.getSaveState("Unions"));
	}
A simple object to store various filter settings for the data type provider.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/datamgr/tree/DtFilterState.java