protected void doAction(String name, boolean waitForCompletion) {
		ActionContext programContext = getProgramContext();
		DockingActionIf action = getAction(name, programContext);
		String contextMsg = "";
		if (programContext != null) {
			contextMsg = " (" + programContext.getClass().getSimpleName() + ")";
		}
		assertNotNull("Action was not found" + contextMsg + ": " + name, action);
		doAction(action, waitForCompletion);
	}
Execute the specified DataPlugin action using the current program context.
Assertion failures will occur if action not found or is not enabled for the
current context.
@param name action name
@param waitForCompletion if true invocation will wait for action to complete
its execution in the swing thread, if false it will be scheduled and return immediately.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/data/AbstractDataActionTest.java