@Override
			public boolean applyTo(Program p) {
				try {
					String conventionName = getCallingConvention();
					function.setCallingConvention(conventionName);
					return true;
				}
				catch (InvalidInputException e) {
					errMsg = e.getMessage();
					Msg.error(this, "Unexpected Exception: " + e.getMessage(), e);
					return false;
				}
			}
Called when the user initiates changes that need to be put into a
command and executed.

@return true if the command was successfully created.
@throws CancelledException if operation cancelled by user
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/function/EditFunctionSignatureDialog.java