I know its hard, but give yourself a little bit of time before you do anything. Seriously, sit around and watch TV, the bone needs to start mending. Also be sure to keep your arm a bit mobile or your joints will start to freeze up and that's no fun. I cracked my collar bone all the way through resulting in the half closest to my shoulder to force itself under the half closest to my neck, and in about 10 days I was out on the road on my mountain bike with little to no pain. I'm sure getting onto a trainer would take less time since you don't have to worry about quick braking and things like that.
You should be decent for weights at about that time too, just make sure you do a good job isolating your muscles or you're going to hurt yourself bad. Keep a very very light grip on the hand grips. Use lower weights than you normally would to ensure you don't wind up using your arms and forcing your shoulder into the action.
You're probably not going to want to swim, since the drag on your shoulder is going to hurt a lot and who knows when you'll have to put your arms out quickly.
Upper body is going to take a while. I'm at week 4 and I was told by my orthopedist that I can't work out my upper body for another 6 weeks. YMMV depending on how bad your break is.
The hardest part is mental. Heal quick, and for the time being take up TV and Videogames.