@Override
					public void run() {
						plugin.adjustDiffDisplay();
						plugin.firePluginEvent(new ProgramSelectionPluginEvent(plugin.getName(),
							plugin.getCurrentSelection(), plugin.getCurrentProgram()));
						plugin.programLocationChanged(origLocation, null);
						if (applyMsg != null && applyMsg.length() > 0) {
							ReadTextDialog detailsDialog = new ReadTextDialog(title, applyMsg);
							plugin.getTool().showDialog(detailsDialog, plugin.getListingPanel());
						}
					}
Command to apply diffs to current program.
Ghidra/Features/ProgramDiff/src/main/java/ghidra/app/plugin/core/diff/ApplyDiffCommand.java