Have a look at what the WorkbenchWindow
is doing to hide it's toolbars when the right preference settings are present.
Look at the layout code. Of course this is only implemented
in Eclipse2.1. You simply need to set the bounds of your toolbar/coolbar
to have a width and height of 0.