private void createDebugActions() {
		if (tool == null) {
			throw new AssertException("Called create debug actions with tool null");
		}
		DockingAction action = new DockingAction("Launch Debug Search Window", getName()) {
			@Override
			public void actionPerformed(ActionContext context) {
				try {
					FidSearchDebugDialog fidSearchDebugDialog = new FidSearchDebugDialog(service);
					tool.showDialog(fidSearchDebugDialog);
				}
				catch (VersionException | IOException e) {
					Msg.showError(this, null, "Can't open Fid Query Service", e);
				}
			}
		};
		action.setMenuBarData(new MenuData(
			new String[] { ToolConstants.MENU_TOOLS, FUNCTION_ID_NAME, "Debug Search Window" },
			null, MENU_GROUP_2, MenuData.NO_MNEMONIC, "7"));
		action.setDescription("Open a window to search the FID DBs in debug mode");
		action.setHelpLocation(new HelpLocation(FidPlugin.FID_HELP, "FunctionIDDebug"));
		tool.addAction(action);

		action = new HashAction(this);
		action.setMenuBarData(new MenuData(
			new String[] { ToolConstants.MENU_TOOLS, FUNCTION_ID_NAME,
				"Debug Search Window (Current Function)" },
			null, MENU_GROUP_2, MenuData.NO_MNEMONIC, "1"));
		action.setDescription("FidHashes the current function for debug purposes");
		action.setHelpLocation(new HelpLocation(FidPlugin.FID_HELP, "FunctionIDDebug"));
		tool.addAction(action);

		createRawFileAction = new DockingAction("raw file", getName()) {
			@Override
			public void actionPerformed(ActionContext context) {
				createRawFile();
			}
		};
		createRawFileAction
				.setMenuBarData(new MenuData(
					new String[] { ToolConstants.MENU_TOOLS, FUNCTION_ID_NAME,
						"Create Read-only Database" },
					null, MENU_GROUP_2, MenuData.NO_MNEMONIC, "1"));
		createRawFileAction.setDescription(
			"Creates a raw read-only database suitable for distribution in the installation directory");
		createRawFileAction
				.setHelpLocation(new HelpLocation(FidPlugin.FID_HELP, "FunctionIDDebug"));

		tool.addAction(createRawFileAction);
	}
Method to create the "standard" actions, which users controlling or creating
FID databases would want to use.
Ghidra/Features/FunctionID/src/main/java/ghidra/feature/fid/plugin/FidDebugPlugin.java