static void setToolTipText(JButton button, DockingActionIf action) {

		String toolTipText = getToolTipText(action);
		String keyBindingText = getKeyBindingAcceleratorText(button, action.getKeyBinding());
		if (keyBindingText != null) {
			button.setToolTipText(combingToolTipTextWithKeyBinding(toolTipText, keyBindingText));
		}
		else {
			button.setToolTipText(toolTipText);
		}
	}
Sets the given button's tooltip text to match that of the given action
@param button the button
@param action the action
Ghidra/Framework/Docking/src/main/java/docking/menu/DockingToolBarUtils.java