protected void setKeyBinding(KeyBindingData kbData) {

		if (isInTool()) {
			throw new IllegalStateException(
				"Cannot set the default key binding after the provider is added to the tool");
		}

		this.defaultKeyBindingData = kbData;

		if (isTransient && kbData != null) {
			Msg.error(this, TRANSIENT_PROVIDER_KEY_BINDING_WARNING_MESSAGE,
				ReflectionUtilities.createJavaFilteredThrowable());
			this.defaultKeyBindingData = null;
		}
	}
Sets the default key binding that will show this provider when pressed.   This value can
be changed by the user and saved as part of the Tool options.

@param kbData the key binding
Ghidra/Framework/Docking/src/main/java/docking/ComponentProvider.java