public ProgramMergeFilter getDefaultApplyFilter() {
		PluginTool tool = plugin.getTool();
		Options options = tool.getOptions(DIFF_OPTIONS);

//		case PROGRAM_CONTEXT:
//		case BYTES:
//		case CODE_UNITS:
//		case REFERENCES:
//		case BOOKMARKS:
//		case PROPERTIES:
//		case FUNCTIONS:

		// Get the current settings as options
		REPLACE_CHOICE programContext =
			options.getEnum(OPTION_PROGRAM_CONTEXT, REPLACE_CHOICE.REPLACE);
		REPLACE_CHOICE bytes = options.getEnum(OPTION_BYTES, REPLACE_CHOICE.REPLACE);
		REPLACE_CHOICE codeUnits = options.getEnum(OPTION_CODE_UNITS, REPLACE_CHOICE.REPLACE);
		REPLACE_CHOICE references = options.getEnum(OPTION_REFERENCES, REPLACE_CHOICE.REPLACE);
		MERGE_CHOICE plateComments = options.getEnum(OPTION_PLATE_COMMENTS, MERGE_CHOICE.MERGE);
		MERGE_CHOICE preComments = options.getEnum(OPTION_PRE_COMMENTS, MERGE_CHOICE.MERGE);
		MERGE_CHOICE eolComments = options.getEnum(OPTION_EOL_COMMENTS, MERGE_CHOICE.MERGE);
		MERGE_CHOICE repeatableComments =
			options.getEnum(OPTION_REPEATABLE_COMMENTS, MERGE_CHOICE.MERGE);
		MERGE_CHOICE postComments = options.getEnum(OPTION_POST_COMMENTS, MERGE_CHOICE.MERGE);
		SYMBOL_MERGE_CHOICE symbols =
			options.getEnum(OPTION_SYMBOLS, SYMBOL_MERGE_CHOICE.MERGE_AND_SET_PRIMARY);
		REPLACE_CHOICE bookmarks = options.getEnum(OPTION_BOOKMARKS, REPLACE_CHOICE.REPLACE);
		REPLACE_CHOICE properties = options.getEnum(OPTION_PROPERTIES, REPLACE_CHOICE.REPLACE);
		REPLACE_CHOICE functions = options.getEnum(OPTION_FUNCTIONS, REPLACE_CHOICE.REPLACE);
		MERGE_CHOICE functionTags = options.getEnum(OPTION_FUNCTION_TAGS, MERGE_CHOICE.MERGE);
		REPLACE_CHOICE sourceMap = options.getEnum(OPTION_SOURCE_MAP, REPLACE_CHOICE.IGNORE);

		// Convert the options to a merge filter.
		ProgramMergeFilter filter = new ProgramMergeFilter();
		filter.setFilter(ProgramMergeFilter.PROGRAM_CONTEXT, programContext.ordinal());
		filter.setFilter(ProgramMergeFilter.BYTES, bytes.ordinal());
		filter.setFilter(ProgramMergeFilter.CODE_UNITS, codeUnits.ordinal());
		filter.setFilter(ProgramMergeFilter.REFERENCES, references.ordinal());
		filter.setFilter(ProgramMergeFilter.PLATE_COMMENTS, plateComments.ordinal());
		filter.setFilter(ProgramMergeFilter.PRE_COMMENTS, preComments.ordinal());
		filter.setFilter(ProgramMergeFilter.EOL_COMMENTS, eolComments.ordinal());
		filter.setFilter(ProgramMergeFilter.REPEATABLE_COMMENTS, repeatableComments.ordinal());
		filter.setFilter(ProgramMergeFilter.POST_COMMENTS, postComments.ordinal());
		filter.setFilter(ProgramMergeFilter.SYMBOLS,
			convertSymbolMergeChoiceToMergeChoice(symbols).ordinal());
		filter.setFilter(ProgramMergeFilter.BOOKMARKS, bookmarks.ordinal());
		filter.setFilter(ProgramMergeFilter.PROPERTIES, properties.ordinal());
		filter.setFilter(ProgramMergeFilter.FUNCTIONS, functions.ordinal());
		filter.setFilter(ProgramMergeFilter.FUNCTION_TAGS, functionTags.ordinal());
		filter.setFilter(ProgramMergeFilter.PRIMARY_SYMBOL,
			convertSymbolMergeChoiceToReplaceChoiceForPrimay(symbols).ordinal());
		filter.setFilter(ProgramMergeFilter.SOURCE_MAP, sourceMap.ordinal());

		return filter;
	}
Gets the merge filter for the default apply settings.
@return merge filter indicating default apply settings.
Ghidra/Features/ProgramDiff/src/main/java/ghidra/app/plugin/core/diff/DiffApplySettingsOptionManager.java