public B onAction(Consumer<C> action) {
		actionCallback = action;
		return self();
	}
Sets the primary callback to be executed when this action is invoked.  This builder will
throw an {@link IllegalStateException} if one of the build methods is called without
providing this callback.

@param action the callback to execute when the action is invoked
@return this builder (for chaining)
Ghidra/Framework/Docking/src/main/java/docking/action/builder/AbstractActionBuilder.java