Reloadable cave in generators are a bit of a myth, and I thought I'd have a shot at it. So here is my idea.
First off, it has to be built over a corridor with a natural floor. That's the biggest limitation. The only one, really. And it needs magma and water. So, here is the description:
z= -1 : a natural wall, which is the floor of ...
... z=0: The corridor where the collapse will take place. The ceiling is the floor of ...
... z= +1: magma tank
z= +2: magma (yes, 2 z-levels deep)
z= +3: raisable bridges (not retractable) 1 tile long, except for one which is 2 (or more) tiles long, covered with water (any depth, 1/7 to 7/7)
So the trap starts with the bridges lowered, covered with water.
1) Pull a lever to raise all the bridges at once. The 1 tile long bridges will atom smash the water covering them, and the 2 tiles long bridge will leave a hole with water in it.
2) The water, at z= +3, falls down into the magma tank
3) An obsidian block forms on the upper level of the magma tank (z= +2). It is not supported from underneath (more magma) or the sides (bridges) and falls
4) the obsidian block is falling and reaches z=+1, and punches the bottom of the magma tank
5) the block keeps falling and reaches z=0. The natural wall at z=0 stops the block's fall.
6) The clever bit: the magma does not leak, because the top of the fallen block has re-formed the floor of the tank that was destroyed by the fall.
7) Reload by mining the fallen block, and flick the lever again
So, do you think it would work ? I haven't ben able to try it out yet: my hot map's water has evaporated and I haven't found the cave river yet.
The bridges don't have to be the way I described. A hole bigger that 1 tile will simply cause a cave-in bigger than one block.