@Override
	public JMenuItem createMenuItem(boolean isPopup) {
		JMenuItem menuItem = doCreateMenuItem();
		MenuData menuData = isPopup ? popupMenuData : menuBarData;
		if (menuData != null) {

			String text = menuData.getMenuItemName();
			String trimmed = StringUtilities.trimMiddle(text, 50);
			menuItem.setText(trimmed);
			Icon icon = menuData.getMenuIcon();
			menuItem.setIcon(icon);
			if (icon != null) {
				menuItem.setDisabledIcon(ResourceManager.getDisabledIcon(icon));
			}
			menuItem.setMnemonic(menuData.getMnemonic());
		}
		else {
			throw new AssertException(
				"No menu data for menu type: " + (isPopup ? "Popup" : "Menubar"));
		}
		KeyStroke ks = keyBindingData == null ? null : keyBindingData.getKeyBinding();
		if (ks != null) {
			menuItem.setAccelerator(ks);
		}
		menuItem.setEnabled(isEnabled);

		return menuItem;
	}
Signals the help system that this action does not need a help entry.   Some actions
are so obvious that they do not require help, such as an action that renames a file.
<p>
The method should be sparsely used, as most actions should provide help.
Ghidra/Framework/Docking/src/main/java/docking/action/DockingAction.java