I am sure I am missing something, but Xara does all that by pressing one button and dragging the shadow around.

I know that there are some cool things you can do, someone posted some buttons that expand and contract that was impressive, but this Photoshop plug-in...?