@Override
	public boolean applyTo(Program program) {

		EquateTable etable = program.getEquateTable();
		boolean success = true;
		for (String name : equateNames) {
			if (!etable.removeEquate(name)) {
				Msg.error(this, "Failed to remove equate: " + name);
				success = false;
			}
		}
		if (!success) {
			msg = "Failed to remove one or more equates";
		}
		return success;
	}
The name of the edit action.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/equate/RemoveEquateCmd.java