public void popupWhen(Predicate<ActionContext> predicate) {
		popupPredicate = predicate;
	}
Sets a predicate for dynamically determining if this action should be included in
an impending pop-up menu.  If this predicate is not set, the action's will be included
in an impending pop-up, if it is enabled. See
{@link DockingActionIf#isAddToPopup(ActionContext)}

@param predicate the predicate that will be used to dynamically determine an action's
enabled state.
Ghidra/Framework/Docking/src/main/java/docking/action/DockingAction.java