public void addToWindowWhen(Class<? extends ActionContext> addToWindowContextClass) {
		addToWindowWhenContextClass = addToWindowContextClass;
	}
Sets the ActionContext class for when this action should be added to a window
<P>
If this is set, then the action will only be added to windows that have providers
that can produce an ActionContext that is appropriate for this action.

@param addToWindowContextClass the ActionContext class required to be producible by a
provider that is hosted in that window before this action is added to that
window.
Ghidra/Framework/Docking/src/main/java/docking/action/DockingAction.java