private void createFilterDiffsCheckBox() {

		filterDiffsCB = new GCheckBox("Only Show Expected Difference Types", false);
		filterDiffsCB.setName(FILTER_DIFFS_CHECK_BOX);
		filterDiffsCB.addActionListener(e -> {
			filterDiffs = filterDiffsCB.isSelected();
			if (autoUpdateCB.isSelected()) {
				refreshDetails(plugin.getCurrentLocation());
			}
		});

	}
Creates the only show the filtered differences checkbox for diff details
Ghidra/Features/ProgramDiff/src/main/java/ghidra/app/plugin/core/diff/DiffDetailsProvider.java