public void addAction(DockingActionIf action) {
		for (WindowNode node : windowToActionManagerMap.keySet()) {
			Set<Class<?>> contextTypes = node.getContextTypes();
			if (action.shouldAddToWindow(node instanceof RootNode, contextTypes)) {
				WindowActionManager windowActionManager = windowToActionManagerMap.get(node);
				windowActionManager.addAction(action);
			}
		}
	}
Class to manage all the global actions that show up on the main tool menubar or toolbar
Ghidra/Framework/Docking/src/main/java/docking/GlobalMenuAndToolBarManager.java