@Override
				public void actionPerformed(ActionContext context) {
					if (actionCallback != null) {
						actionCallback.accept(context);
					}
					else {
						super.actionPerformed(context);
					}
				}
Generate the states dynamically upon the user clicking the button

<p>
It is highly recommended that the current state is included in the list of available states.
Otherwise, the user could become confused or frustrated.

@param generator a function from action context to available states
@return this MultiActionDockingActionBuilder (for chaining)
Ghidra/Framework/Docking/src/main/java/docking/action/builder/MultiStateActionBuilder.java