void removeAction(DockingActionIf action) {
		if (!SwingUtilities.isEventDispatchThread()) {
			throw new AssertException("Actions must be removed from Swing thread");
		}

		menuManager.removeAction(action);
		toolBarManager.removeAction(action);
		updateToolBar();
	}
Removes an action from the toolbar and/or drop-down menu.
@param action the action to be removed.
Ghidra/Framework/Docking/src/main/java/docking/DockableToolBarManager.java