@Override
	public boolean removeAction(DockingActionIf action) {
		for (ManagedMenuItem item : managedMenuItems) {
			if (item.removeAction(action)) {
				if (item.isEmpty()) {
					remove(item);
				}
				resetMenus();
				return true;
			}
		}
		return false;
	}
Returns a JPopupMenu for the action hierarchy
@return the popup menu
Ghidra/Framework/Docking/src/main/java/docking/menu/MenuManager.java