@Override
	protected boolean applyChanges() throws CancelledException {
		// create the command
		Command<Program> command = createCommand();

		if (command == null) {
			return false;
		}

		// run the command
		if (!getTool().execute(command, function.getProgram())) {
			setStatusText(command.getStatusMsg());
			return false;
		}

		setStatusText("");
		return true;
	}
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