protected void doAction(DockingActionIf action, boolean waitForCompletion) {
		if (!action.isEnabledForContext(getProgramContext())) {
			Assert.fail("Action is not valid: " + action.getName());
		}

		try {
			performAction(action, cb.getProvider(), waitForCompletion);
		}
		catch (Throwable t) {
			t.printStackTrace();
			Assert.fail("Action '" + action.getName() + "' failed: " + t.toString());
		}

	}
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