I didn't even bother looking for examples of republican presidents doing or saying anything like what Obama said. I mean, come on.
I did find this nice overview of the presidents' labor records, with this conclusion:
http://www.ler.illinois.edu/faculty/papers/bruno-presidentiallabor.pdf
(...)
The historical comparison offered here suggests that at their best Democratic
presidential labor regimes have provided labor with the organizational space and
institutional legitimacy necessary to impact policy development. On balance,
Democratic Presidents with the partial exception of Roosevelt, have been “regime
stabilizers,” unwilling or incapable of significantly modifying the industrial relations
balance of power. It would appear then that the record from FRD to Clinton can best be
defined as one of “recognition with containment.” Minus real change in the political
possibilities of creating a more independent labor agenda, past Democratic practice suggests that every four years organized labor will be confronted with a choice between a
cautious friend and a likely aggressive enemy.