private int showPurgeQuestionDialog(final PluginTool tool, final Address currentAddress,
			final Address functionAddress) {

		// @formatter:off
		String message =
			"If this function changes the stack depth (or purge) the same for all calls to the function,\n" +
				"then you should globally set the function purge which affects all calls to the function.\n \n" +
				"If each call to the function affects the stack depth differently, then you should\n" +
				"locally set the stack depth change at the current Call instruction only.\n \n \n" +
				"Choose Global to set the function purge for the Function at " +
				functionAddress.toString() + ".\n" +
				"Choose Local to set the stack depth change for this call only at " +
				currentAddress.toString() + ".";
		// @formatter:on

		StackChangeOptionDialog dialog = new StackChangeOptionDialog(message);
		dialog.show();
		return dialog.getResult();
	}
Creates a new action with the given name and associated to the given
plugin.
@param plugin the plugin this action is associated with.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/function/SetStackDepthChangeAction.java