@Override
	public void actionPerformed(ListingActionContext context) {
		Function function = funcPlugin.getFunction(context);
		if (function == null) {
			return;
		}
		ProgramLocation currentLocation = context.getLocation();
		Variable var = getVariable(function, currentLocation);
		if (var == null) {
			return;
		}
		if (var.getComment().equals("")) {
			return;
		}
		if (currentLocation instanceof VariableCommentFieldLocation) {
			funcPlugin.execute(context.getProgram(), new SetVariableCommentCmd(var, ""));
		}
	}
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/VariableCommentDeleteAction.java