@Override
	public void apply() {
		if (mergeManager == null) {
			return;
		}
		if (currentMerger != null) {
			boolean resolvedAll = currentMerger.apply();
			if (resolvedAll) {
				conflictNum += currentMerger.getNumConflictsResolved();
				if (conflictNum <= totalConflictsInPhase) {
					conflictInfoPanel.setConflictInfo(conflictNum, totalConflictsInPhase);
				}
				mergeManager.setApplyEnabled(false);
			}
			else {
				mergeManager.setStatusText("Please select an option to resolve each conflict.");
			}
		}
	}
Manages listing changes and conflicts between the latest versioned
program and the modified program being checked into version control.
@param mergeManager the top level merge manager for merging a program version.
@param resultPgm the program to be updated with the result of the merge.
This is the program that will actually get checked in.
@param originalPgm the program that was checked out.
@param latestPgm the latest checked-in version of the program.
@param myPgm the program requesting to be checked in.
@param latestChanges the address set of changes between original and latest versioned program.
@param myChanges the address set of changes between original and my modified program.
Ghidra/Features/Base/src/main/java/ghidra/app/merge/listing/ListingMergeManager.java