@Override
		public void stateChanged(ChangeEvent e) {
			// Add conflict choices are KEEP_LATEST_ADD, KEEP_MY_ADD, KEEP_BOTH_ADDS, or MERGE_BOTH_ADDS.
			ResolveConflictChangeEvent re = (ResolveConflictChangeEvent) e;
			final int choice = re.getChoice();
			conflictListener = () -> {
				try {
					resolveAddConflict(externalLocations, choice, monitor);
				}
				catch (CancelledException e1) {
					// Do nothing here and let a higher level detect and catch the Cancel.
				}
			};

			adjustApply();
		}
Method called for merging an external that was added in LATEST and one that was added in MY.
@param externalLocations RESULT, LATEST, and MY locations and ORIGINAL is null.
@param monitor task monitor for progress and cancelling.
@throws CancelledException if user cancels the merge.
Ghidra/Features/Base/src/main/java/ghidra/app/merge/listing/ExternalFunctionMerger.java