@Override
	protected void programChanged(Program program) {
		if (program == null) {
			getMenuBarData().setMenuItemName("&Save");
			setDescription("Save Program");
		}
		else {
			String progName = program.getDomainFile().getName();
			getMenuBarData().setMenuItemNamePlain("Save '%s'".formatted(progName));
			getMenuBarData().setMnemonic('S');
			setDescription("<html>Save '%s'".formatted(HTMLUtilities.escapeHTML(progName)));
		}
	}
Action class for the "Save Program" action
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/progmgr/SaveProgramAction.java