private boolean canClearErrors(BSimMatchesTableActionContext c) {
		int rowCount = c.getSelectedRowCount();
		if (rowCount == 0) {
			return false;
		}
		if (rowCount == 1) {
			BSimMatchResult selectedRowObject = matchesTable.getSelectedRowObject();
			return selectedRowObject.getStatus() == BSimResultStatus.ERROR;
		}
		return true;
	}
ComponentProvider for displaying BSim Similar Functions Search results.
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/gui/search/results/BSimSearchResultsProvider.java