public B inWindow(When when) {
		this.windowWhen = when;
		return self();
	}
Specifies when a global action should appear in a window (main or secondary).
<P>
Global menu or toolbar actions can be configured to appear in 1) only the main 
window, or 2) all windows, or 3) any window that has a provider that
generates an action context that matches the context that this action
consumes. If the "context matches" options is chosen, then the 
{@link #withContext(Class)} method must also be called to specify the matching
context; otherwise an exception will be thrown when the action is built.
<P>
The default is that the action will only appear in the main window.

@param when use the {@link When} enum to specify the windowing behavior
of the action.

@return this builder (for chaining)
Ghidra/Framework/Docking/src/main/java/docking/action/builder/AbstractActionBuilder.java