private ApplyEnumDialog applyEnumDialog(ListingActionContext context) {
		DataTypeManager dtm = context.getProgram().getDataTypeManager();
		ApplyEnumDialog applyEnumDialog = new ApplyEnumDialog(tool, dtm);
		applyEnumDialog.setHelpLocation(new HelpLocation(getName(), "Apply_Enum"));
		tool.showDialog(applyEnumDialog);
		return applyEnumDialog;
	}
Class to handle setting, removing, and renaming equates in a program.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/equate/EquatePlugin.java