boolean isDataTypeSettingsAllowed(ListingActionContext context, boolean editDefaults) {
		ProgramSelection selection = context.getSelection();
		Data data = getDataUnit(context);
		if (selection != null && !selection.isEmpty() &&
			!isSelectionJustSingleDataInstance(selection, data)) {
			return !editDefaults;
		}
		if (data == null) {
			return false;
		}
		DataType dt = data.getDataType();
		if (dt.getSettingsDefinitions().length == 0) {
			return false;
		}
		if (editDefaults) {
			return !dt.getDefaultSettings().isImmutableSettings();
		}
		return true;
	}
Update the Favorites actions for favorite data types.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/data/DataPlugin.java