private void setupLoadLibrariesAction() {
		String title = "Load Libraries";

		loadLibrariesAction = new DockingAction(title, this.getName()) {
			@Override
			public void actionPerformed(ActionContext context) {
				doLoadLibraries();
			}
		};
		loadLibrariesAction.setMenuBarData(new MenuData(new String[] { "&File", title + "..." },
			null, IMPORT_MENU_GROUP, MenuData.NO_MNEMONIC, "zzz"));
		loadLibrariesAction.setDescription(IMPORTER_PLUGIN_DESC);
		loadLibrariesAction.setEnabled(false);

		// Load libraries makes no sense in the front end tool, but we create it so that the
		// loadLibrariesAction won't be null and we would have to check that in other places.
		if (!(tool instanceof FrontEndTool)) {
			tool.addAction(loadLibrariesAction);
		}
	}
A {@link Plugin} that supplies menu items and tasks to import files into Ghidra.
Ghidra/Features/Base/src/main/java/ghidra/plugin/importer/ImporterPlugin.java