public T buildAndInstall(Tool tool) {
		T action = build();
		tool.addAction(action);
		return action;
	}
Builds and adds the action globally to the tool

@param tool the tool to add the action to
@return the newly created action
@see #build()
@see #buildAndInstallLocal(ComponentProvider)
Ghidra/Framework/Docking/src/main/java/docking/action/builder/AbstractActionBuilder.java