private void createActions() {
		hexDisplayAction = new ToggleActionBuilder("Toggle Hex Mode", plugin.getName())
				.helpLocation(new HelpLocation(HELP_TOPIC, "Toggle_Hex_Mode"))
				.menuPath("Show Enum Values in Hex")
				.description("Toggles Enum value column to show values in hex or decimal")
				.keyBinding("Shift-H")
				.selected(true)
				.onAction(c -> editorPanel.setHexDisplayMode(hexDisplayAction.isSelected()))
				.buildAndInstallLocal(this);

		addAction = new EnumPluginAction(ACTION_NAME_ADD, e -> editorPanel.addEntry());
		addAction.setEnabled(true);
		String editGroup = "Edit";
		addAction.setPopupMenuData(new MenuData(new String[] { "Add" }, ADD_ICON, editGroup));
		addAction.setToolBarData(new ToolBarData(ADD_ICON, editGroup));
		addAction.setDescription("Add a new enum entry");

		deleteAction =
			new EnumPluginAction(ACTION_NAME_DELETE, e -> editorPanel.deleteSelectedEntries());
		deleteAction.setEnabled(false);
		deleteAction
				.setPopupMenuData(new MenuData(new String[] { "Delete" }, DELETE_ICON, editGroup));
		deleteAction.setToolBarData(new ToolBarData(DELETE_ICON, editGroup));
		deleteAction.setDescription("Delete the selected enum entries");

		applyAction = new EnumPluginAction(ACTION_NAME_APPLY, e -> applyChanges());
		applyAction.setEnabled(false);
		String firstGroup = "ApplyChanges";
		applyAction.setToolBarData(new ToolBarData(APPLY_ICON, firstGroup));
		applyAction.setDescription("Apply changes to Enum");

		EnumPluginAction showEnumAction =
			new EnumPluginAction("Show In Data Type Manager", e -> showDataEnumInTree());
		showEnumAction.setEnabled(true);
		String thirdGroup = "FThirdGroup";
		showEnumAction.setToolBarData(
			new ToolBarData(new GIcon("icon.plugin.enum.editor.home"), thirdGroup));

		FindReferencesToEnumFieldAction findReferencesAction =
			new FindReferencesToEnumFieldAction(plugin);

		tool.addLocalAction(this, applyAction);
		tool.addLocalAction(this, addAction);
		tool.addLocalAction(this, deleteAction);
		tool.addLocalAction(this, showEnumAction);
		tool.addLocalAction(this, findReferencesAction);
	}
Construct a new enum editor provider.
@param plugin owner of this provider
@param enumDT enum data type
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/datamgr/editor/EnumEditorProvider.java