public void enabledWhen(Predicate<ActionContext> predicate) {
		enabledPredicate = predicate;
	}
Sets a predicate for dynamically determining the action's enabled state.  If this
predicate is not set, the action's enable state must be controlled directly using the
{@link DockingAction#setEnabled(boolean)} method. See
{@link DockingActionIf#isEnabledForContext(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