public static JPopupMenu getPopupMenu(DockingWindowManager dwm, ActionContext context) {

		ActionToGuiMapper mapper = dwm.getActionToGuiMapper();
		PopupActionManager popupManager = mapper.getPopupActionManager();
		JPopupMenu popup = popupManager.createPopupMenu(null, context);
		return popup;
	}
Gets the popup menu for the given context
@param dwm the window manager
@param context the action context
@return the popup menu; null if there are no valid actions for the given context
Ghidra/Framework/Docking/src/test/java/docking/DockingWindowManagerTestHelper.java