public void contextChanged(ComponentProvider provider) {
		// if provider is specified, update its local menu and tool bar actions
		if (provider != null) {
			ComponentPlaceholder placeholder = getActivePlaceholder(provider);
			if (placeholder != null) {
				placeholder.contextChanged();
			}
		}

		// always update the global tool menu and tool bar actions
		actionToGuiMapper.contextChanged();
	}
Called by the framework during startup to register actions that are shared throughout the 
tool.  See {@link SharedActionRegistry}.
@param tool the tool
@param toolActions the class to which the actions should be added
@param owner the shared action owner
Ghidra/Framework/Docking/src/main/java/docking/DockingWindowManager.java