I'm using the Metadata Editor and I had a Metadata Schema including the OLAP Schema. I deleted my Business Tables, but it wouldn't automaticly delete the business views and the Cubes and Dimensions. So I also deleted the business views but now I can't delete the cube anymore, there is no button to delete it since the the underlying Business table doesn't exist anymore.
You should add a check in the deleting routine to make sure all depend elements get deleted too, or you have to delete them first.