@Override
	protected void doActionPerformed(ActionEvent e) {

		// The help is pointing to the toolbar button that triggered this call.  Reset the help so
		// that it is correct for any widgets triggered by the actionPeformed call below.
		DockingWindowManager.clearMouseOverHelp();

		if (dockingAction instanceof ToggleDockingActionIf) {
			ToggleDockingActionIf toggleAction = (ToggleDockingActionIf) dockingAction;
			toggleAction.setSelected(!toggleAction.isSelected());
		}

		// Give the Swing thread a chance to repaint
		Swing.runLater(() -> dockingAction.actionPerformed(contextProvider.getActionContext(null)));
	}
Toolbar buttons for Dialogs.

<p>This class exists because dialog actions are not added to the regular tool's toolbars.  This
means that we have to create the dialog's toolbars outside of the tool.  Thus, this class
mimics how the tool's toolbar buttons are created.
Ghidra/Framework/Docking/src/main/java/docking/menu/DialogToolbarButton.java