private void checkForAlreadyAddedAction(ComponentProvider provider, DockingActionIf action) {
		if (getActionStorage(action).contains(action)) {
			String providerString =
				provider == null ? "Action: " : "Provider " + provider.getName() + " - action: ";
			throw new AssertException("Cannot add the same action more than once. " +
				providerString + action.getFullName());
		}
	}
Add an action that works specifically with a component provider.
@param provider provider associated with the action
@param action local action to the provider
Ghidra/Framework/Docking/src/main/java/docking/actions/ToolActions.java