@Override
	public boolean applyTo(T obj) {
		for (Command<T> cmd : cmds) {
			if (!cmd.applyTo(obj)) {
				statusMsg = cmd.getStatusMsg();
				return false;
			}
		}
		return true;
	}
Constructor for CompoundCmd.

@param name the name of the command
Ghidra/Framework/Project/src/main/java/ghidra/framework/cmd/CompoundCmd.java